Iros
 
Loading...
Searching...
No Matches
di::container::ViewInterface< Self > Class Template Reference

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

Inheritance diagram for di::container::ViewInterface< Self >:
[legend]

Public Member Functions

constexpr auto empty () -> bool requires(concepts::SizedContainer< Self >||concepts::ForwardContainer< Self >)
 
constexpr auto empty () const -> bool requires(concepts::SizedContainer< Self const >||concepts::ForwardContainer< Self 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
 
template<concepts::RandomAccessContainer Cont = Self>
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) -> decltype(auto)
 
template<concepts::RandomAccessContainer Cont = Self const>
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) const -> decltype(auto)
 
template<concepts::RandomAccessContainer Cont = Self>
constexpr auto at (meta::ContainerSSizeType< Cont > n) -> Optional< meta::ContainerReference< Cont > >
 
template<concepts::RandomAccessContainer Cont = Self const>
constexpr auto at (meta::ContainerSSizeType< Cont > n) const -> Optional< meta::ContainerReference< Cont > >
 

Member Function Documentation

◆ at() [1/2]

template<typename Self>
template<concepts::RandomAccessContainer Cont = Self>
auto di::container::ViewInterface< Self >::at ( meta::ContainerSSizeType< Cont > n) -> Optional<meta::ContainerReference<Cont>>
inlineconstexpr

◆ at() [2/2]

template<typename Self>
template<concepts::RandomAccessContainer Cont = Self const>
auto di::container::ViewInterface< Self >::at ( meta::ContainerSSizeType< Cont > n) const -> Optional<meta::ContainerReference<Cont>>
inlineconstexpr

◆ back() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::back ( )
inlineconstexpr

◆ back() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::back ( ) const
inlineconstexpr

◆ cbegin() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::cbegin ( )
inlineconstexpr

◆ cbegin() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::cbegin ( ) const
inlineconstexpr

◆ cend() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::cend ( )
inlineconstexpr

◆ cend() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::cend ( ) const
inlineconstexpr

◆ data() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::data ( )
inlineconstexpr

◆ data() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::data ( ) const
inlineconstexpr

◆ empty() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::empty ( ) -> bool requires(concepts::SizedContainer<Self> || concepts::ForwardContainer<Self>)
inlineconstexpr

◆ empty() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::empty ( ) const -> bool requires(concepts::SizedContainer<Self const> || concepts::ForwardContainer<Self const>)
inlineconstexpr

◆ front() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::front ( )
inlineconstexpr

◆ front() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::front ( ) const
inlineconstexpr

◆ operator bool() [1/2]

template<typename Self>
di::container::ViewInterface< Self >::operator bool ( )
inlineexplicitconstexpr

◆ operator bool() [2/2]

template<typename Self>
di::container::ViewInterface< Self >::operator bool ( ) const
inlineexplicitconstexpr

◆ operator[]() [1/2]

template<typename Self>
template<concepts::RandomAccessContainer Cont = Self>
auto di::container::ViewInterface< Self >::operator[] ( meta::ContainerSSizeType< Cont > n) -> decltype(auto)
inlineconstexpr

◆ operator[]() [2/2]

template<typename Self>
template<concepts::RandomAccessContainer Cont = Self const>
auto di::container::ViewInterface< Self >::operator[] ( meta::ContainerSSizeType< Cont > n) const -> decltype(auto)
inlineconstexpr

◆ size() [1/2]

template<typename Self>
auto di::container::ViewInterface< Self >::size ( )
inlineconstexpr

◆ size() [2/2]

template<typename Self>
auto di::container::ViewInterface< Self >::size ( ) const
inlineconstexpr

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