Template Function eastl::pop_heap(RandomAccessIterator, RandomAccessIterator, Compare)

Function Documentation

template<typename RandomAccessIterator, typename Compare>
void eastl::pop_heap(RandomAccessIterator first, RandomAccessIterator last, Compare compare)

pop_heap

This version is useful for cases where your object comparison is unusual or where you want to have the heap store pointers to objects instead of storing the objects themselves (often in order to improve cache coherency while doing sorting).

The Compare function must work equivalently to the compare function used to make and maintain the heap.