#include #include template struct AverageQueueSize { static const uint64_t value = 0; // cause a crash if used }; #include "priority_queue.hpp" #include "heap.hpp" #include "mempool.hpp" using namespace std; int main() { int count = 1000; typedef Heap > heap_t; heap_t heap("test", count * 2 * sizeof(double)); // add many random values for (int i=0; i heap(Time(i)).minPayload())) return -1; } // got until here -> success return 0; }