38 template(
typename V,
typename P)(
40 constexpr auto operator()(V && value, P proj)
const
42 return make_action_closure(
43 bind_back(
remove_fn{},
static_cast<V &&
>(value), std::move(proj)));
47 constexpr auto operator()(V && value)
const
49 return make_action_closure(
53 template(
typename Rng,
typename V,
typename P =
identity)(
58 Rng operator()(Rng && rng, V
const & value, P proj = {})
const
60 auto it = ranges::remove(rng, value, std::move(proj));
61 ranges::erase(rng, it, ranges::end(rng));
62 return static_cast<Rng &&
>(rng);