Public Member Functions | |
template<typename I , typename S , typename R = ordered_less, typename P = ident, requires = (ForwardIterator<I>() && Sentinel<S, I>() && IndirectCallableRelation<R, projected<I, P>>())> | |
bool | operator() (I begin, S end, R rel=R{}, P proj_=P{}) const |
template function is_sorted_fn::operator() More... | |
template<typename Rng , typename R = ordered_less, typename P = ident, typename I = range_iterator_t<Rng>, requires = (ForwardRange<Rng>() && IndirectCallableRelation<R, projected<I, P>>())> | |
bool | operator() (Rng &&rng, R rel=R{}, P proj=P{}) const |
bool ranges::v3::is_sorted_fn::operator() | ( | I | begin, |
S | end, | ||
R | rel = R{} , |
||
P | proj_ = P{} |
||
) | const |
template function is_sorted_fn::operator()
range-based version of the is_sorted
std algorithm
Works on ForwardViews
Rng
is a model of the ForwardView
concept I
is a model of the ForwardIterator
concept S
is a model of the Sentinel<I>
concept R
is a model of the Relation<Value_Type<I>>
concept