Template Function eastl::make_heap(RandomAccessIterator, RandomAccessIterator)

Function Documentation

template<typename RandomAccessIterator>
void eastl::make_heap(RandomAccessIterator first, RandomAccessIterator last)

make_heap

Given an array, this function converts it into heap format. The complexity is O(n), where n is count of the range. The input range is not required to be in any order.