[#absl-c_prev_permutation-0b] = xref:absl.adoc[absl]::c_prev_permutation :relfileprefix: ../ :mrdocs: Overload of `c_prev_permutation()` for performing a lexicographical comparison using a `comp` operator instead of `operator<`. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename LessThan> constexpr bool c_prev_permutation( C& c, LessThan&& comp); ---- == Return Value `true` if a previous permutation exists, `false` if the range was reset to the last permutation. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to rearrange. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#