Iros
 
Loading...
Searching...
No Matches
di::container::RepeatView< T, Bound > Class Template Reference

#include <di/container/view/repeat_view.h>

Inheritance diagram for di::container::RepeatView< T, Bound >:
[legend]

Public Member Functions

constexpr RepeatView ()=default
 
constexpr RepeatView (T const &value, Bound bound=Bound())
 
constexpr RepeatView (T &&value, Bound bound=Bound())
 
constexpr auto begin () const -> Iterator
 
constexpr auto end () const -> Iterator
 
constexpr auto end () const -> UnreachableSentinel requires(!is_bounded)
 
constexpr auto size () const
 
- Public Member Functions inherited from di::container::ViewInterface< RepeatView< T, UnreachableSentinel > >
constexpr auto empty () -> bool requires(concepts::SizedContainer< RepeatView< T, UnreachableSentinel > >||concepts::ForwardContainer< RepeatView< T, UnreachableSentinel > >)
 
constexpr auto empty () const -> bool requires(concepts::SizedContainer< RepeatView< T, UnreachableSentinel > const >||concepts::ForwardContainer< RepeatView< T, UnreachableSentinel > const >)
 
constexpr operator bool ()
 
constexpr operator bool () const
 
constexpr auto cbegin ()
 
constexpr auto cbegin () const
 
constexpr auto cend ()
 
constexpr auto cend () const
 
constexpr auto data ()
 
constexpr auto data () const
 
constexpr auto size ()
 
constexpr auto size () const
 
constexpr auto front ()
 
constexpr auto front () const
 
constexpr auto back ()
 
constexpr auto back () const
 
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) -> decltype(auto)
 
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) const -> decltype(auto)
 
constexpr auto at (meta::ContainerSSizeType< Cont > n) -> Optional< meta::ContainerReference< Cont > >
 
constexpr auto at (meta::ContainerSSizeType< Cont > n) const -> Optional< meta::ContainerReference< Cont > >
 

Constructor & Destructor Documentation

◆ RepeatView() [1/3]

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
di::container::RepeatView< T, Bound >::RepeatView ( )
constexprdefault

◆ RepeatView() [2/3]

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
di::container::RepeatView< T, Bound >::RepeatView ( T const & value,
Bound bound = Bound() )
inlineexplicitconstexpr

◆ RepeatView() [3/3]

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
di::container::RepeatView< T, Bound >::RepeatView ( T && value,
Bound bound = Bound() )
inlineexplicitconstexpr

Member Function Documentation

◆ begin()

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
auto di::container::RepeatView< T, Bound >::begin ( ) const -> Iterator
inlineconstexpr

◆ end() [1/2]

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
auto di::container::RepeatView< T, Bound >::end ( ) const -> Iterator
inlineconstexpr

◆ end() [2/2]

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
auto di::container::RepeatView< T, Bound >::end ( ) const -> UnreachableSentinel requires(!is_bounded)
inlineconstexpr

◆ size()

template<concepts::Movable T, concepts::Semiregular Bound = UnreachableSentinel>
auto di::container::RepeatView< T, Bound >::size ( ) const
inlineconstexpr

The documentation for this class was generated from the following file: