Template Function eastl::adjust_heap(RandomAccessIterator, Distance, Distance, Distance, const T&, Compare)¶
- Defined in File heap.h
Function Documentation¶
-
template<typename
RandomAccessIterator
, typenameDistance
, typenameT
, typenameCompare
>
voideastl
::
adjust_heap
(RandomAccessIterator first, Distance topPosition, Distance heapSize, Distance position, const T &value, Compare compare) adjust_heap
The Compare function must work equivalently to the compare function used to make and maintain the heap.
This function requires that the value argument refer to a value that is currently not within the heap.