[#absl-c_is_sorted_until-07] = xref:absl.adoc[absl]::c_is_sorted_until :relfileprefix: ../ :mrdocs: Overload of `c_is_sorted_until()` for performing a `comp` comparison other than the default `operator<`. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename LessThan> constexpr /* implementation-defined */ c_is_sorted_until( C& c, LessThan&& comp); ---- == Return Value An iterator to the first element that breaks the order under `comp`, or the end iterator if the container is fully sorted. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to inspect. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#