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

Public Member Functions

template<typename F >
CPP_TEMPLATE_AUX_0 g (requires invocable< F & >) gggenerate_n_view< F > operator()(bool b
 

Public Attributes

CPP_TEMPLATE_AUX_0 F f const
 

Related Functions

(Note that these are not member functions.)

constexpr lazy_yield_if_fn lazy_yield_if {}
 

Member Data Documentation

◆ const

CPP_TEMPLATE_AUX_0 F f ranges::lazy_yield_if_fn::const
Initial value:
{
return views::generate_n(std::move(f), b ? 1 : 0)
constexpr move_fn move
Definition: move.hpp:52