title: Is there a maxheap in the C++ standard library?
body: <p>I know the <code>std::priority_queue</code> class implements a minheap. Is there a way to use this as a Max heap? Or is there an alternative Maxheap structure? I know I can use the <code>std::make_heap()</code> function on a <code>std::vector</code> with lambda to create my own Maxheap but then using functions such as <code>std::pop_heap()</code> is weird and I don't think they are easy to use. There should be an easier way just like the min_heap(priority queue) I think.</p>