Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::sort_fn Struct Reference

Public Member Functions

template<typename I , typename S , typename C = ordered_less, typename P = ident, requires = (Sortable<I, C, P>() && RandomAccessIterator<I>() && Sentinel<S, I>())>
operator() (I begin, S end_, C pred=C{}, P proj=P{}) const
 
template<typename Rng , typename C = ordered_less, typename P = ident, typename I = iterator_t<Rng>, requires = (Sortable<I, C, P>() && RandomAccessRange<Rng>())>
safe_iterator_t< Rng > operator() (Rng &&rng, C pred=C{}, P proj=P{}) const