Overload of c_min_element() for performing a comp comparison other than operator<.
Declared in <absl/algorithm/container.h>
template<
typename Sequence,
typename LessThan>
constexpr
/* implementation-defined */
c_min_element(
Sequence& sequence,
LessThan&& comp);
An iterator to the smallest element under comp.
| Name | Description |
|---|---|
| sequence | The container to inspect. |
| comp | The comparison used to order the elements. |