Overload of c_make_heap() for performing heap comparisons using a comp other than operator<
Declared in <absl/algorithm/container.h>
template<
typename RandomAccessContainer,
typename LessThan>
constexpr
void
c_make_heap(
RandomAccessContainer& sequence,
LessThan&& comp);
| Name | Description |
|---|---|
| sequence | The container to rearrange into a heap. |
| comp | The comparison used to order the heap. |