Overload of c_is_heap() for performing heap comparisons using a comp other than operator<
Declared in <absl/algorithm/container.h>
template<
typename RandomAccessContainer,
typename LessThan>
constexpr
bool
c_is_heap(
RandomAccessContainer const& sequence,
LessThan&& comp);
true if sequence is a heap under comp, otherwise false.
| Name | Description |
|---|---|
| sequence | The container to test. |
| comp | The comparison used to order the heap. |