#include "boost/heap/pairing_heap.hpp" struct ordering { ordering(int) {} bool operator()(int a, int b) const { return a < b; } }; int main() { boost::heap::pairing_heap > q(ordering(0)); q.end(); }