Horizon
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
generate.hpp File Reference
#include <utility>
#include <range/v3/range_fwd.hpp>
#include <range/v3/algorithm/result_types.hpp>
#include <range/v3/functional/invoke.hpp>
#include <range/v3/functional/reference_wrapper.hpp>
#include <range/v3/iterator/concepts.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/dangling.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Namespaces

namespace  ranges::cpp20
 

Typedefs

template<typename O , typename F >
using ranges::generate_result = detail::out_fun_result< O, F >
 

Functions

 ranges::template (typename O, typename S, typename F)(AND output_iterator< O
 function template generate_n
 
invoke_result_t< F & > AND sentinel_for< S, O > constexpr generate_result< O, F > RANGES_FUNC() ranges::generate (O first, S last, F fun)
 
 ranges::template (typename Rng, typename F)(AND output_range< Rng
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
invoke_result_t< F & > constexpr generate_result< borrowed_iterator_t< Rng >, F > RANGES_FUNC() ranges::generate (Rng &&rng, F fun)