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