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

Public Member Functions

template<typename Val >
requires copy_constructible<Val>
repeat_n_view< Val > operator() (Val value, std::ptrdiff_t n) const
 

Related Functions

(Note that these are not member functions.)

constexpr repeat_n_fn repeat_n {}