pop_heap
Syntax:
#include <algorithm> void pop_heap( iterator start, iterator end ); void pop_heap( iterator start, iterator end, StrictWeakOrdering cmp ); The pop_heap() function removes the larges element (defined as the element at the front of the heap) from the given heap. If the strict weak ordering comparison function object
pop_heap() runs in logarithmic time. |