37 template(
typename Int)(
38 requires detail::integer_like_<Int>)
39 constexpr auto operator()(Int n)
const
41 return make_action_closure(bind_back(
take_fn{}, n));
44 template(
typename Rng)(
47 Rng operator()(Rng && rng, range_difference_t<Rng> n)
const
49 RANGES_EXPECT(n >= 0);
50 ranges::actions::erase(
51 rng, ranges::next(begin(rng), n, end(rng)), end(rng));
52 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