push_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 push_heap (STL/CLR).
Adds an element that is at the end of a range to an existing heap consisting of the prior elements in the range.
template<class _RanIt> inline
void push_heap(_RanIt _First, _RanIt _Last);
template<class _RanIt, class _Pr> inline
void push_heap(_RanIt _First, _RanIt _Last, _Pr _Pred);
This function behaves the same as the STL function push_heap. For more information, see push_heap.
Header: <cliext/algorithm>
Namespace: cliext
Show: