Template Function eastl::make_heap(RandomAccessIterator, RandomAccessIterator)¶
- Defined in File heap.h
Function Documentation¶
-
template<typename
RandomAccessIterator
>
voideastl
::
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.