[#absl-c_is_sorted-04] = xref:absl.adoc[absl]::c_is_sorted :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::is_sorted()` function to evaluate whether the given container is sorted in ascending order. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename C> constexpr bool c_is_sorted(C const& c); ---- == Return Value `true` if `c` is sorted in ascending order, otherwise `false`. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to test. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#