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

Synopsis of methods

constexpr generate_fn generate {}
 

Public Member Functions

template<typename G >
auto operator() (G g) const -> generate_view< G > requires Invocable< G & > &&CopyConstructible< G > &&std::is_object< detail::decay_t< invoke_result_t< G & >>>::value &&Constructible< detail::decay_t< invoke_result_t< G & >>, invoke_result_t< G & >> &&Assignable< detail::decay_t< invoke_result_t< G & >> &, invoke_result_t< G & >>