[#absl-c_max_element-04] = xref:absl.adoc[absl]::c_max_element :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::max_element()` function to return an iterator pointing to the element with the largest value, using `operator<` to make the comparisons. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Sequence> constexpr /* implementation-defined */ c_max_element(Sequence& sequence); ---- == Return Value An iterator to the largest element. == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to inspect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#