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

Public Member Functions

template<typename Val >
CPP_TEMPLATE_AUX_0 r (requires copy_constructible< Val >) rrrepeat_n_view< Val > operator()(Val value
 

Public Attributes

CPP_TEMPLATE_AUX_0 std::ptrdiff_t n const
 

Related Functions

(Note that these are not member functions.)

constexpr repeat_n_fn repeat_n {}
 

Member Data Documentation

◆ const

CPP_TEMPLATE_AUX_0 std::ptrdiff_t n ranges::views::repeat_n_fn::const
Initial value:
{
return repeat_n_view<Val>{std::move(value), n}
constexpr move_fn move
Definition: move.hpp:52