make_heap « STL Algorithms Heap « C++ Tutorial






31.1.make_heap
31.1.1.Use make_heap to convert collection into a heap
31.1.2.Use std::make_heap to create heap from a vector
31.1.3.Sort vector1 using make_heap and sort_heap