di 0.1.0
Loading...
Searching...
No Matches
di::container::CacheLastView< Con > Class Template Reference

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

Inheritance diagram for di::container::CacheLastView< Con >:
di::container::ViewInterface< CacheLastView< Con > > di::meta::EnableView< CacheLastView< Con > >

Public Member Functions

 CacheLastView ()=default
constexpr CacheLastView (Con container)
constexpr auto base () const &-> Con requires(concepts::CopyConstructible< Con >)
constexpr auto base () &&-> Con
constexpr auto begin ()
constexpr auto end ()
constexpr auto size ()
constexpr auto size () const
Public Member Functions inherited from di::container::ViewInterface< CacheLastView< Con > >
constexpr auto empty () -> bool requires(concepts::SizedContainer< CacheLastView< Con > >||concepts::ForwardContainer< CacheLastView< Con > >)
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 > >

Constructor & Destructor Documentation

◆ CacheLastView() [1/2]

template<concepts::InputContainer Con>
di::container::CacheLastView< Con >::CacheLastView ( )
default

◆ CacheLastView() [2/2]

template<concepts::InputContainer Con>
di::container::CacheLastView< Con >::CacheLastView ( Con container)
inlineexplicitconstexpr

Member Function Documentation

◆ base() [1/2]

template<concepts::InputContainer Con>
auto di::container::CacheLastView< Con >::base ( ) &&->Con
inlineconstexpr

◆ base() [2/2]

template<concepts::InputContainer Con>
auto di::container::CacheLastView< Con >::base ( ) const &->Conrequires(concepts::CopyConstructible< Con >)
inlineconstexpr

◆ begin()

template<concepts::InputContainer Con>
auto di::container::CacheLastView< Con >::begin ( )
inlineconstexpr

◆ end()

template<concepts::InputContainer Con>
auto di::container::CacheLastView< Con >::end ( )
inlineconstexpr

◆ size() [1/2]

template<concepts::InputContainer Con>
auto di::container::CacheLastView< Con >::size ( )
inlineconstexpr

◆ size() [2/2]

template<concepts::InputContainer Con>
auto di::container::CacheLastView< Con >::size ( ) const
inlineconstexpr

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