Overload of c_is_sorted_until() for performing a comp comparison other than the default operator<.
Declared in <absl/algorithm/container.h>
template<
typename C,
typename LessThan>
constexpr
/* implementation-defined */
c_is_sorted_until(
C& c,
LessThan&& comp);
An iterator to the first element that breaks the order under comp, or the end iterator if the container is fully sorted.
| Name | Description |
|---|---|
| c | The container to inspect. |
| comp | The comparison used to order the elements. |