39 template(
typename C,
typename P =
identity)(
41 constexpr auto operator()(C pred, P proj = P{})
const
43 return make_action_closure(
44 bind_back(
unique_fn{}, std::move(pred), std::move(proj)));
51 Rng operator()(Rng && rng, C pred = C{}, P proj = P{})
const
53 auto it = ranges::unique(rng, std::move(pred), std::move(proj));
54 ranges::erase(rng, it, end(rng));
55 return static_cast<Rng &&
>(rng);