Overload of c_push_heap() for performing a push operation on a heap using a comp other than operator<.
Declared in <absl/algorithm/container.h>
template<
typename RandomAccessContainer,
typename LessThan>
constexpr
void
c_push_heap(
RandomAccessContainer& sequence,
LessThan&& comp);
| Name | Description |
|---|---|
| sequence | The heap container whose last element is pushed onto the heap. |
| comp | The comparison used to order the heap. |