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

Synopsis of methods

constexpr generate_n_fn generate_n {}
 

Public Types

template<typename G >
using Concept = meta::and_< Function< G >, meta::not_< Same< void, concepts::Function::result_t< G >>>>
 

Public Member Functions

template<typename G , requires = (Concept<G>())>
generate_n_view< G > operator() (G g, std::size_t n) const