| title |
push_heap (STL/CLR) | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
push_heap function [STL/CLR] |
|
| ms.assetid |
184fe1d9-5f75-4c11-adbb-84b6b5c8ecd3 |
| caps.latest.revision |
4 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
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);
Remarks
This function behaves the same as the C++ Standard Library function push_heap. For more information, see push_heap.
Header: <cliext/algorithm>
Namespace: cliext
algorithm (STL/CLR)