tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename ForwardIt> | |
constexpr auto | max_element (ForwardIt first, ForwardIt last) noexcept -> ForwardIt |
Finds the greatest element in the range [first, last) . Elements are compared using operator<. | |
template<typename ForwardIt, typename Compare> | |
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 comparison function comp. | |