di 0.1.0
Loading...
Searching...
No Matches
di::container::ConstantRingInterface< Self, Value > Class Template Reference

#include <di/container/ring/constant_ring_interface.h>

Inheritance diagram for di::container::ConstantRingInterface< Self, Value >:
di::container::MutableRingInterface< Self, Value >

Public Member Functions

constexpr auto size () const -> usize
constexpr auto size_bytes () const -> usize
constexpr auto empty () const -> bool
constexpr auto begin ()
constexpr auto end ()
constexpr auto begin () const
constexpr auto end () const
constexpr auto front ()
constexpr auto front () const
constexpr auto back ()
constexpr auto back () const
constexpr auto at (usize index)
constexpr auto at (usize index) const
constexpr auto operator[] (usize index) -> decltype(auto)
constexpr auto operator[] (usize index) const -> decltype(auto)
constexpr auto iterator (usize index)
constexpr auto iterator (usize index) const
constexpr auto citerator (usize index) const

Friends

constexpr friend auto operator== (Self const &a, Self const &b) -> bool requires(concepts::EqualityComparable< Value >)
constexpr friend auto operator<=> (Self const &a, Self const &b)

Member Function Documentation

◆ at() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::at ( usize index)
inlineconstexpr

◆ at() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::at ( usize index) const
inlineconstexpr

◆ back() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::back ( )
inlineconstexpr

◆ back() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::back ( ) const
inlineconstexpr

◆ begin() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::begin ( )
inlineconstexpr

◆ begin() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::begin ( ) const
inlineconstexpr

◆ citerator()

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::citerator ( usize index) const
inlineconstexpr

◆ empty()

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::empty ( ) const->bool
inlinenodiscardconstexpr

◆ end() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::end ( )
inlineconstexpr

◆ end() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::end ( ) const
inlineconstexpr

◆ front() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::front ( )
inlineconstexpr

◆ front() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::front ( ) const
inlineconstexpr

◆ iterator() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::iterator ( usize index)
inlineconstexpr

◆ iterator() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::iterator ( usize index) const
inlineconstexpr

◆ operator[]() [1/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::operator[] ( usize index) ->decltype(auto)
inlineconstexpr

◆ operator[]() [2/2]

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::operator[] ( usize index) const->decltype(auto)
inlineconstexpr

◆ size()

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::size ( ) const->usize
inlineconstexpr

◆ size_bytes()

template<typename Self, typename Value>
auto di::container::ConstantRingInterface< Self, Value >::size_bytes ( ) const->usize
inlineconstexpr

◆ operator<=>

template<typename Self, typename Value>
friend auto operator<=> ( Self const & a,
Self const & b )
friend

◆ operator==

template<typename Self, typename Value>
friend auto operator== ( Self const & a,
Self const & b )->boolrequires(concepts::EqualityComparable< Value >)
friend

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