Partager via


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);

Notes

This function behaves the same as the STL function push_heap. Pour plus d'informations, consultez push_heap.

Configuration requise

Header: <cliext/algorithm>

Namespace: cliext

Voir aussi

Référence

algorithme (STL/CLR)