Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::actions::take_fn Struct Reference

Public Member Functions

template<typename Int >
requires detail::integer_like_<Int>
constexpr auto operator() (Int n) const
 
template<typename Rng >
requires forward_range<Rng> && erasable_range<Rng &, iterator_t<Rng>, sentinel_t<Rng>>
Rng operator() (Rng &&rng, range_difference_t< Rng > n) const
 

Related Functions

(Note that these are not member functions.)

constexpr take_fn take {}