14[[nodiscard]]
constexpr auto min_element(ForwardIt first, ForwardIt last, Compare comp) -> ForwardIt
20 ForwardIt smallest = first;
22 for (; first != last; ++first) {
23 if (comp(*first, *smallest)) {
constexpr auto min_element(ForwardIt first, ForwardIt last, Compare comp) -> ForwardIt
Finds the smallest element in the range [first, last). Elements are compared using the given binary c...
Definition min_element.hpp:14