Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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.
Syntax
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);
Remarks
This function behaves the same as the STL function push_heap. For more information, see push_heap.
Requirements
Header: <cliext/algorithm>
Namespace: cliext