41 template(
typename C,
typename P =
identity)(
43 constexpr auto operator()(C pred, P proj = P{})
const
45 return make_action_closure(
46 bind_back(
remove_if_fn{}, std::move(pred), std::move(proj)));
49 template(
typename Rng,
typename C,
typename P =
identity)(
54 Rng operator()(Rng && rng, C pred, P proj = P{})
const
56 auto it = ranges::remove_if(rng, std::move(pred), std::move(proj));
57 ranges::erase(rng, it, ranges::end(rng));
58 return static_cast<Rng &&
>(rng);
RANGES_INLINE_VARIABLE(detail::to_container_fn< detail::from_range< std::vector > >, to_vector) template< template< typename... > class ContT > auto to(RANGES_HIDDEN_DETAIL(detail
For initializing a container of the specified type with the elements of an Range.
Definition conversion.hpp:399