push_heap « STL Algorithms Heap « C++ Tutorial






31.3.push_heap
31.3.1.Use push_heap to push new element into the heap
31.3.2.Sort vector1 using push_heap and pop_heap