Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::repeat_n_view< Val > Struct Template Reference
+ Inheritance diagram for ranges::repeat_n_view< Val >:

Public Member Functions

constexpr repeat_n_view (Val value, std::ptrdiff_t n)
 
constexpr std::size_t size () const
 
- Public Member Functions inherited from ranges::view_facade< repeat_n_view< Val >, finite >
requires constexpr same_as< D, repeat_n_view< Val > > auto begin () -> detail::facade_iterator_t< D >
 Let d be static_cast<Derived &>(*this). Let b be std::as_const(d).begin_cursor() if that expression is well-formed; otherwise, let b be d.begin_cursor(). Let B be the type of b. More...
 
requires constexpr same_as< D, repeat_n_view< Val > > auto begin () const -> detail::facade_iterator_t< D const >
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
requires constexpr same_as< D, repeat_n_view< Val > > auto end () -> detail::facade_sentinel_t< D >
 Let d be static_cast<Derived &>(*this). Let e be std::as_const(d).end_cursor() if that expression is well-formed; otherwise, let e be d.end_cursor(). Let E be the type of e. More...
 
requires constexpr same_as< D, repeat_n_view< Val > > auto end () const -> detail::facade_sentinel_t< D const >
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Additional Inherited Members

- Protected Member Functions inherited from ranges::view_facade< repeat_n_view< Val >, finite >
constexpr view_as_cursor begin_cursor () const
 
constexpr default_sentinel_t end_cursor () const
 
- Protected Attributes inherited from ranges::view_facade< repeat_n_view< Val >, finite >
friend range_access