[#absl-c_max_element-06] = xref:absl.adoc[absl]::c_max_element :relfileprefix: ../ :mrdocs: Overload of `c_max_element()` for performing a `comp` comparison other than `operator<`. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Sequence, typename LessThan> constexpr /* implementation-defined */ c_max_element( Sequence& sequence, LessThan&& comp); ---- == Return Value An iterator to the largest element under `comp`. == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to inspect. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#