[#absl-c_next_permutation-0d] = xref:absl.adoc[absl]::c_next_permutation :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::next_permutation()` function to rearrange a container's elements into the next lexicographically greater permutation. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename C> constexpr bool c_next_permutation(C& c); ---- == Return Value `true` if a next permutation exists, `false` if the range was reset to the first permutation. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to rearrange. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#