[#absl-c_is_partitioned] = xref:absl.adoc[absl]::c_is_partitioned :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::is_partitioned()` function to test whether all elements in the container for which `pred` returns `true` precede those for which `pred` is `false`. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename Pred> constexpr bool c_is_partitioned( C const& c, Pred&& pred); ---- == Return Value `true` if `c` is partitioned with respect to `pred`, otherwise `false`. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to test. | *pred* | The predicate used to partition the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#