di 0.1.0
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 >:
di::container::ViewInterface< EmptyView< T > > di::meta::EnableBorrowedContainer< EmptyView< T > > di::meta::EnableView< EmptyView< T > >

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 operator bool ()
constexpr auto cbegin ()
constexpr auto cend ()
constexpr auto data ()
constexpr auto size ()
constexpr auto front ()
constexpr auto back ()
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) -> decltype(auto)
constexpr auto at (meta::ContainerSSizeType< Cont > n) -> Optional< meta::ContainerReference< Cont > >

Member Function Documentation

◆ begin()

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

◆ data()

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

◆ empty()

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

◆ end()

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

◆ size()

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

◆ 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: