[#absl-c_is_sorted_until-09]
= xref:absl.adoc[absl]::c&lowbar;is&lowbar;sorted&lowbar;until
:relfileprefix: ../
:mrdocs:

Container&hyphen;based version of the &lt;algorithm&gt; `std&colon;&colon;is&lowbar;sorted&lowbar;until()` function to return the first element within a container that is not sorted in ascending order as an iterator&period;

== Synopsis

Declared in `&lt;absl&sol;algorithm&sol;container&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename C&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
c&lowbar;is&lowbar;sorted&lowbar;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&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| The container to inspect&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
