[#absl-c_is_sorted_until-09] = xref:absl.adoc[absl]::c_is_sorted_until :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::is_sorted_until()` function to return the first element within a container that is not sorted in ascending order as an iterator. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename C> constexpr /* implementation-defined */ c_is_sorted_until(C& c); ---- == Return Value An iterator to the first element that breaks ascending order, or the end iterator if the container is fully sorted. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to inspect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#