Iros
 
Loading...
Searching...
No Matches
di::container::EmptyView< T > Class Template Reference

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

Inheritance diagram for di::container::EmptyView< T >:
[legend]

Static Public Member Functions

static constexpr auto begin () -> T *
 
static constexpr auto end () -> T *
 
static constexpr auto data () -> T *
 
static constexpr auto size () -> types::size_t
 
static constexpr auto empty () -> bool
 

Friends

constexpr friend auto tag_invoke (types::Tag< container::reconstruct >, InPlaceType< EmptyView >, T *, T *) -> EmptyView
 
constexpr friend auto tag_invoke (types::Tag< container::reconstruct >, InPlaceType< EmptyView >, nullptr_t, T *) -> EmptyView
 
constexpr friend auto tag_invoke (types::Tag< container::reconstruct >, InPlaceType< EmptyView >, T *, nullptr_t) -> EmptyView
 
constexpr friend auto tag_invoke (types::Tag< container::reconstruct >, InPlaceType< EmptyView >, nullptr_t, nullptr_t) -> EmptyView
 

Additional Inherited Members

- Public Member Functions inherited from di::container::ViewInterface< EmptyView< T > >
constexpr auto empty () -> bool requires(concepts::SizedContainer< EmptyView< T > >||concepts::ForwardContainer< EmptyView< T > >)
 
constexpr auto empty () const -> bool requires(concepts::SizedContainer< EmptyView< T > const >||concepts::ForwardContainer< EmptyView< T > 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 > >
 

Member Function Documentation

◆ begin()

template<typename T>
static constexpr auto di::container::EmptyView< T >::begin ( ) -> T*
inlinestaticconstexpr

◆ data()

template<typename T>
static constexpr auto di::container::EmptyView< T >::data ( ) -> T*
inlinestaticconstexpr

◆ empty()

template<typename T>
static constexpr auto di::container::EmptyView< T >::empty ( ) -> bool
inlinestaticconstexpr

◆ end()

template<typename T>
static constexpr auto di::container::EmptyView< T >::end ( ) -> T*
inlinestaticconstexpr

◆ size()

template<typename T>
static constexpr auto di::container::EmptyView< T >::size ( ) -> types::size_t
inlinestaticconstexpr

Friends And Related Symbol Documentation

◆ tag_invoke [1/4]

template<typename T>
friend auto tag_invoke ( types::Tag< container::reconstruct > ,
InPlaceType< EmptyView< T > > ,
nullptr_t ,
nullptr_t  ) -> EmptyView
friend

◆ tag_invoke [2/4]

template<typename T>
friend auto tag_invoke ( types::Tag< container::reconstruct > ,
InPlaceType< EmptyView< T > > ,
nullptr_t ,
T *  ) -> EmptyView
friend

◆ tag_invoke [3/4]

template<typename T>
friend auto tag_invoke ( types::Tag< container::reconstruct > ,
InPlaceType< EmptyView< T > > ,
T * ,
nullptr_t  ) -> EmptyView
friend

◆ tag_invoke [4/4]

template<typename T>
friend auto tag_invoke ( types::Tag< container::reconstruct > ,
InPlaceType< EmptyView< T > > ,
T * ,
T *  ) -> EmptyView
friend

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