Overload of c_minmax_element() for performing comp comparisons other than operator<.
Declared in <absl/algorithm/container.h>
template<
typename C,
typename LessThan>
constexpr
/* implementation-defined */
c_minmax_element(
C& c,
LessThan&& comp);
A pair of iterators to the smallest and largest elements under comp.
| Name | Description |
|---|---|
| c | The container to inspect. |
| comp | The comparison used to order the elements. |