Functions | |
template<typename I , typename S , typename R = less, typename P = identity> requires forward_iterator<I> && sentinel_for<S, I> && indirect_strict_weak_order<R, projected<I, P>> | |
constexpr bool | ranges::is_sorted (I first, S last, R rel=R{}, P proj=P{}) |
template function is_sorted More... | |
template<typename Rng , typename R = less, typename P = identity> requires forward_range<Rng> && indirect_strict_weak_order<R, projected<iterator_t<Rng>, P>> | |
constexpr bool | ranges::is_sorted (Rng &&rng, R rel=R{}, P proj=P{}) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |