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

Synopsis of methods

constexpr view< take_fntake {}
 

Public Member Functions

template<typename Rng , requires = (InputRange<Rng>())>
auto operator() (Rng &&rng, range_difference_type_t< Rng > n) const -> decltype(take_fn::invoke_(static_cast< Rng &&>(rng), n))