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