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

Public Member Functions

template<typename G >
requires invocable<G &> && copy_constructible<G> && std::is_object<detail::decay_t<invoke_result_t<G &>>>
::value &&constructible_from< detail::decay_t< invoke_result_t< G & > >, invoke_result_t< G & > > &&assignable_from< detail::decay_t< invoke_result_t< G & > > &, invoke_result_t< G & > > generate_view< G > operator() (G g) const
 

Related Functions

(Note that these are not member functions.)

constexpr generate_fn generate {}