Container-based version of the <algorithm> std::min_element() function to return an iterator pointing to the element with the smallest value, using operator< to make the comparisons.
Declared in <absl/algorithm/container.h>
template<typename Sequence>
constexpr
/* implementation-defined */
c_min_element(Sequence& sequence);
An iterator to the smallest element.
| Name | Description |
|---|---|
| sequence | The container to inspect. |