#include <di/container/ring/static_ring.h>
Public Types | |
using | Value = T |
using | ConstValue = T const |
Public Member Functions | |
constexpr | StaticRing () |
StaticRing (StaticRing const &)=default | |
StaticRing (StaticRing &&)=default | |
auto | operator= (StaticRing const &) -> StaticRing &=default |
auto | operator= (StaticRing &&) -> StaticRing &=default |
constexpr auto | span () -> Span< T > |
constexpr auto | span () const -> Span< T const > |
constexpr auto | capacity () const -> usize |
constexpr auto | max_size () const -> usize |
constexpr auto | reserve_from_nothing (usize n) -> Expected< void, NoCapacityError > |
constexpr void | assume_size (usize size) |
constexpr auto | grow_capacity (usize min_capacity) const -> usize |
constexpr auto | head () const -> usize |
constexpr auto | tail () const -> usize |
constexpr void | assume_head (usize head) |
constexpr void | assume_tail (usize tail) |
![]() | |
constexpr auto | clone () const |
constexpr void | clear () |
constexpr auto | push_back (T const &value) -> decltype(auto) requires(concepts::CopyConstructible< T >) |
constexpr auto | push_back (T &&value) -> decltype(auto) requires(concepts::MoveConstructible< T >) |
constexpr auto | emplace_back (Args &&... args) -> decltype(auto) |
constexpr auto | append_container (Con &&container) |
constexpr auto | pop_back () -> decltype(auto) |
constexpr auto | push_front (T const &value) -> decltype(auto) requires(concepts::CopyConstructible< T >) |
constexpr auto | push_front (T &&value) -> decltype(auto) requires(concepts::MoveConstructible< T >) |
constexpr auto | emplace_front (Args &&... args) -> decltype(auto) |
constexpr auto | prepend_container (Con &&container) |
constexpr auto | pop_front () -> decltype(auto) |
constexpr auto | insert (ConstIterator position, T const &value) |
constexpr auto | insert (ConstIterator position, T &&value) |
constexpr auto | emplace (ConstIterator position, Args &&... args) |
constexpr auto | erase (ConstIterator position) |
constexpr auto | erase (ConstIterator start, ConstIterator end) |
constexpr auto | iterator (ConstIterator iter) |
constexpr auto | reserve (usize n) |
constexpr auto | make_contigous () |
constexpr auto | resize (size_t count) |
constexpr auto | resize (size_t count, T const &value) |
![]() | |
constexpr auto | size () const -> usize |
constexpr auto | size_bytes () const -> usize |
constexpr auto | empty () const -> bool |
constexpr auto | begin () |
constexpr auto | begin () const |
constexpr auto | end () |
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 |
using di::container::StaticRing< T, SizeConstant >::ConstValue = T const |
using di::container::StaticRing< T, SizeConstant >::Value = T |
|
inlineconstexpr |
|
default |
|
default |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
default |
|
default |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |