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