Ticket #11379: pairing_heap_test.cpp

File pairing_heap_test.cpp, 256 bytes (added by Rainer Deyke <rainerd@…>, 7 years ago)
Line 
1#include "boost/heap/pairing_heap.hpp"
2
3
4struct ordering {
5 ordering(int) {}
6 bool operator()(int a, int b) const {
7 return a < b;
8 }
9};
10
11int main() {
12 boost::heap::pairing_heap<int, boost::heap::compare<ordering> >
13 q(ordering(0));
14 q.end();
15}