Range-v3
Range algorithms, views, and actions for the Standard Library
 
Loading...
Searching...
No Matches
ranges::actions::sort_fn Struct Reference

Public Member Functions

template<typename C , typename P = identity>
requires (!range<C>)
constexpr auto operator() (C pred, P proj={}) const
 
template<typename Rng , typename C = less, typename P = identity>
requires forward_range<Rng> && sortable<iterator_t<Rng>, C, P>
Rng operator() (Rng &&rng, C pred={}, P proj={}) const