Share via


pop_heap (STL/CLR)

 

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 pop_heap (STL/CLR).

Removes the largest element from the front of a heap to the next-to-last position in the range and then forms a new heap from the remaining elements.

Syntax

template<class _RanIt> inline  
    void pop_heap(_RanIt _First, _RanIt _Last);  
template<class _RanIt, class _Pr> inline  
    void pop_heap(_RanIt _First, _RanIt _Last, _Pr _Pred);  

Remarks

This function behaves the same as the STL function pop_heap. For more information, see pop_heap.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)