38 template(
typename C,
typename P =
identity)(
40 constexpr auto operator()(C pred, P proj = {})
const
42 return make_action_closure(
43 bind_back(
sort_fn{}, std::move(pred), std::move(proj)));
46 template(
typename Rng,
typename C =
less,
typename P =
identity)(
48 Rng operator()(Rng && rng, C pred = {}, P proj = {})
const
50 ranges::sort(rng, std::move(pred), std::move(proj));
51 return static_cast<Rng &&
>(rng);