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