|
template<typename Rng , typename C = less, typename P = identity> |
constexpr auto | ranges::max (Rng &&rng, C pred=C{}, P proj=P{}) -> range_value_t< Rng > requires input_range< Rng > &&indirect_strict_weak_order< C, projected< iterator_t< Rng >, P >> &&indirectly_copyable_storable< iterator_t< Rng >, range_value_t< Rng > * > |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename T , typename C = less, typename P = identity> |
constexpr auto | ranges::max (std::initializer_list< T > const &&rng, C pred=C{}, P proj=P{}) -> T requires copyable< T > &&indirect_strict_weak_order< C, projected< T const *, P >> |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename T , typename C = less, typename P = identity> |
constexpr auto | ranges::max (T const &a, T const &b, C pred=C{}, P proj=P{}) -> T const &requires indirect_strict_weak_order< C, projected< T const *, P >> |
| function template max
|
|