MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator ()

Method operator ()

code/data-structures/heap.cpp:5–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3struct default_int_cmp {
4 default_int_cmp() { }
5 bool operator ()(const int &a, const int &b) const {
6 return a < b; } };
7template <class Compare = default_int_cmp> struct heap {
8 int len, count, *q, *loc, tmp;
9 Compare _cmp;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected