pop_heap « STL Algorithms Heap « C++ Tutorial






31.2.pop_heap
31.2.1.Use pop_heap to pop next element out of the heap
31.2.2.Demonstrating push_heap, pop_heap, make_heap and sort_heap.