make_heap (STL/CLR)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at make_heap (STL/CLR).
Converts elements from a specified range into a heap in which the first element is the largest and for which a sorting criterion may be specified with a binary predicate.
template<class _RanIt> inline
void make_heap(_RanIt _First, _RanIt _Last);
template<class _RanIt, class _Pr> inline
void make_heap(_RanIt _First, _RanIt _Last, _Pr _Pred);
This function behaves the same as the STL function make_heap. For more information, see make_heap.
Header: <cliext/algorithm>
Namespace: cliext
Show: