|
|
template<typename InputIt > |
| constexpr | sringbuffer (InputIt first, InputIt last) noexcept |
| |
|
constexpr | sringbuffer (std::initializer_list< T > il) noexcept |
| |
|
constexpr | sringbuffer (const sringbuffer &other) noexcept |
| |
|
constexpr | sringbuffer (sringbuffer &&other) noexcept |
| |
|
constexpr sringbuffer & | operator= (std::initializer_list< T > il) noexcept |
| |
|
constexpr sringbuffer & | operator= (const sringbuffer &other) |
| |
|
constexpr sringbuffer & | operator= (sringbuffer &&other) noexcept |
| |
|
constexpr void | push_back (const T &arg) |
| |
|
constexpr void | push_back (T &&arg) |
| |
|
constexpr void | pop_front (T &out) |
| |
|
constexpr void | pop_front (T &&out) |
| |
|
constexpr void | pop_back (T &out) |
| |
|
constexpr void | pop_back (T &&out) |
| |
|
GAIA_NODISCARD constexpr size_type | size () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | empty () const noexcept |
| |
|
GAIA_NODISCARD constexpr size_type | capacity () const noexcept |
| |
|
GAIA_NODISCARD constexpr size_type | max_size () const noexcept |
| |
|
GAIA_NODISCARD constexpr reference | front () noexcept |
| |
|
GAIA_NODISCARD constexpr const_reference | front () const noexcept |
| |
|
GAIA_NODISCARD constexpr reference | back () noexcept |
| |
|
GAIA_NODISCARD constexpr const_reference | back () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | begin () noexcept |
| |
|
GAIA_NODISCARD constexpr auto | begin () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | cbegin () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | end () noexcept |
| |
|
GAIA_NODISCARD constexpr auto | end () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | cend () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator== (const sringbuffer &other) const |
| |
template<typename T, sringbuffer_detail::size_type N>
class gaia::cnt::sringbuffer< T, N >
Array of elements of type.
- Template Parameters
-
| T | with fixed size and capacity |
| N | allocated on stack working as a ring buffer. That means the element at position N-1 is followed by the element at the position 0. Interface compatiblity with std::array where it matters. |