将范围末尾的元素添加到范围内的前面元素现有堆中。
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);
备注
此函数行为与 STL push_heap函数相同。 有关详细信息,请参阅push_heap。
要求
标头: <cliext/algorithm>
命名空间: cliext