sort heap « STL Algorithms Heap « C++ Tutorial






31.4.sort heap
31.4.1.Use sort_heap to convert heap into a sorted collection(after the call it is no longer a heap)
31.4.2.Sort a heap