GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::SmallBuffer< T, SmallCapacity, Allocator > Class Template Reference

#include <GREM/core/data/SmallBuffer.hpp>

Public Types

using value_type = T
using allocator_type = Allocator
using size_type = typename std::allocator_traits<Allocator>::size_type
using difference_type = typename std::allocator_traits<Allocator>::difference_type
using reference = value_type&
using const_reference = const value_type&
using pointer = typename std::allocator_traits<Allocator>::pointer
using const_pointer = typename std::allocator_traits<Allocator>::const_pointer
using iterator = pointer
using const_iterator = const_pointer
using reverse_iterator = std::reverse_iterator<iterator>
using const_reverse_iterator = std::reverse_iterator<const_iterator>

Public Member Functions

 SmallBuffer () noexcept(noexcept(Allocator()))
 SmallBuffer (const Allocator &allocator) noexcept
 SmallBuffer (size_type count, const T &value, const Allocator &allocator=Allocator())
 SmallBuffer (size_type count, const Allocator &allocator=Allocator())
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
 SmallBuffer (InputIterator first, Sentinel last, const Allocator &allocator=Allocator())
 SmallBuffer (std::initializer_list< T > ilist, const Allocator &allocator=Allocator())
 ~SmallBuffer ()
 SmallBuffer (const SmallBuffer &other)
 SmallBuffer (const SmallBuffer &other, const Allocator &allocator)
 SmallBuffer (SmallBuffer &&other) noexcept(std::is_nothrow_move_constructible_v< T >)
 SmallBuffer (SmallBuffer &&other, const Allocator &allocator)
SmallBuffer & operator= (const SmallBuffer &other)
SmallBuffer & operator= (SmallBuffer &&other) noexcept(std::is_nothrow_move_constructible_v< T > &&//NOLINT(cppcoreguidelines-noexcept-move-operations, performance-noexcept-move-constructor)(std::allocator_traits< Allocator >::propagate_on_container_move_assignment::value||std::allocator_traits< Allocator >::is_always_equal::value))
SmallBuffer & operator= (std::initializer_list< T > ilist)
void assign (size_type count, const T &value)
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
void assign (InputIterator first, Sentinel last)
void assign (std::initializer_list< T > ilist)
template<typename R>
void assign_range (R &&r)
allocator_type get_allocator () const noexcept
reference at (size_type pos)
const_reference at (size_type pos) const
reference operator[] (size_type pos)
const_reference operator[] (size_type pos) const
reference front ()
const_reference front () const
reference back ()
const_reference back () const
pointer data () noexcept
const_pointer data () const noexcept
iterator begin () noexcept
const_iterator begin () const noexcept
const_iterator cbegin () const noexcept
iterator end () noexcept
const_iterator end () const noexcept
const_iterator cend () const noexcept
reverse_iterator rbegin () noexcept
const_reverse_iterator rbegin () const noexcept
const_reverse_iterator crbegin () const noexcept
reverse_iterator rend () noexcept
const_reverse_iterator rend () const noexcept
const_reverse_iterator crend () const noexcept
bool empty () const noexcept
size_type size () const noexcept
size_type max_size () const noexcept
void reserve (size_type newCapacity)
size_type capacity () const noexcept
void shrink_to_fit ()
void clear () noexcept
iterator insert (const_iterator pos, const T &value)
iterator insert (const_iterator pos, T &&value)
iterator insert (const_iterator pos, size_type count, const T &value)
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
iterator insert (const_iterator pos, InputIterator first, Sentinel last)
iterator insert (const_iterator pos, std::initializer_list< T > ilist)
template<typename R>
iterator insert_range (const_iterator pos, R &&r)
template<typename R>
void append_range (R &&r)
iterator insert_unspecified_value (const_iterator pos)
iterator insert_unspecified_value (const_iterator pos, size_type count)
iterator erase (const_iterator pos)
iterator erase (const_iterator first, const_iterator last)
constexpr reference push_back_and_overwrite (auto overwrite)
constexpr reference push_back_unspecified_value ()
constexpr void push_back (const T &value)
constexpr void push_back (T &&value)
void pop_back ()
void resize (size_type count)
void resize (size_type count, const value_type &value)
constexpr void resize_and_overwrite_added_values (size_type count, auto overwrite)
void swap (SmallBuffer &other) noexcept(std::allocator_traits< Allocator >::propagate_on_container_swap::value||//NOLINT(cppcoreguidelines-noexcept-swap, performance-noexcept-swap)(std::allocator_traits< Allocator >::is_always_equal::value &&std::is_nothrow_swappable_v< T > &&std::is_nothrow_move_constructible_v< T >))
bool operator== (const SmallBuffer &other) const
bool operator< (const SmallBuffer &other) const
bool operator<= (const SmallBuffer &other) const
bool operator> (const SmallBuffer &other) const
bool operator>= (const SmallBuffer &other) const

Friends

void swap (SmallBuffer &a, SmallBuffer &b) noexcept
template<typename U>
size_type erase (SmallBuffer &c, const U &value)
template<typename Predicate>
size_type erase_if (SmallBuffer &c, Predicate predicate)

Member Typedef Documentation

◆ value_type

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::value_type = T

◆ allocator_type

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::allocator_type = Allocator

◆ size_type

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::size_type = typename std::allocator_traits<Allocator>::size_type

◆ difference_type

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::difference_type = typename std::allocator_traits<Allocator>::difference_type

◆ reference

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::reference = value_type&

◆ const_reference

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::const_reference = const value_type&

◆ pointer

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::pointer = typename std::allocator_traits<Allocator>::pointer

◆ const_pointer

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::const_pointer = typename std::allocator_traits<Allocator>::const_pointer

◆ iterator

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::iterator = pointer

◆ const_iterator

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::const_iterator = const_pointer

◆ reverse_iterator

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::reverse_iterator = std::reverse_iterator<iterator>

◆ const_reverse_iterator

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
using grem::SmallBuffer< T, SmallCapacity, Allocator >::const_reverse_iterator = std::reverse_iterator<const_iterator>

Constructor & Destructor Documentation

◆ SmallBuffer() [1/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( )
inlinenoexcept

◆ SmallBuffer() [2/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( const Allocator & allocator)
inlineexplicitnoexcept

◆ SmallBuffer() [3/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( size_type count,
const T & value,
const Allocator & allocator = Allocator() )
inline

◆ SmallBuffer() [4/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( size_type count,
const Allocator & allocator = Allocator() )
inlineexplicit

◆ SmallBuffer() [5/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( InputIterator first,
Sentinel last,
const Allocator & allocator = Allocator() )
inline

◆ SmallBuffer() [6/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( std::initializer_list< T > ilist,
const Allocator & allocator = Allocator() )
inline

◆ ~SmallBuffer()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::~SmallBuffer ( )
inline

◆ SmallBuffer() [7/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( const SmallBuffer< T, SmallCapacity, Allocator > & other)
inline

◆ SmallBuffer() [8/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( const SmallBuffer< T, SmallCapacity, Allocator > & other,
const Allocator & allocator )
inline

◆ SmallBuffer() [9/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( SmallBuffer< T, SmallCapacity, Allocator > && other)
inlinenoexcept

◆ SmallBuffer() [10/10]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
grem::SmallBuffer< T, SmallCapacity, Allocator >::SmallBuffer ( SmallBuffer< T, SmallCapacity, Allocator > && other,
const Allocator & allocator )
inline

Member Function Documentation

◆ operator=() [1/3]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
SmallBuffer & grem::SmallBuffer< T, SmallCapacity, Allocator >::operator= ( const SmallBuffer< T, SmallCapacity, Allocator > & other)
inline

◆ operator=() [2/3]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
SmallBuffer & grem::SmallBuffer< T, SmallCapacity, Allocator >::operator= ( SmallBuffer< T, SmallCapacity, Allocator > && other)
inlinenoexcept

◆ operator=() [3/3]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
SmallBuffer & grem::SmallBuffer< T, SmallCapacity, Allocator >::operator= ( std::initializer_list< T > ilist)
inline

◆ assign() [1/3]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::assign ( size_type count,
const T & value )
inline

◆ assign() [2/3]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::assign ( InputIterator first,
Sentinel last )
inline

◆ assign() [3/3]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::assign ( std::initializer_list< T > ilist)
inline

◆ assign_range()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<typename R>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::assign_range ( R && r)
inline

◆ get_allocator()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
allocator_type grem::SmallBuffer< T, SmallCapacity, Allocator >::get_allocator ( ) const
inlinenodiscardnoexcept

◆ at() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reference grem::SmallBuffer< T, SmallCapacity, Allocator >::at ( size_type pos)
inlinenodiscard

◆ at() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reference grem::SmallBuffer< T, SmallCapacity, Allocator >::at ( size_type pos) const
inlinenodiscard

◆ operator[]() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reference grem::SmallBuffer< T, SmallCapacity, Allocator >::operator[] ( size_type pos)
inlinenodiscard

◆ operator[]() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reference grem::SmallBuffer< T, SmallCapacity, Allocator >::operator[] ( size_type pos) const
inlinenodiscard

◆ front() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reference grem::SmallBuffer< T, SmallCapacity, Allocator >::front ( )
inlinenodiscard

◆ front() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reference grem::SmallBuffer< T, SmallCapacity, Allocator >::front ( ) const
inlinenodiscard

◆ back() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reference grem::SmallBuffer< T, SmallCapacity, Allocator >::back ( )
inlinenodiscard

◆ back() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reference grem::SmallBuffer< T, SmallCapacity, Allocator >::back ( ) const
inlinenodiscard

◆ data() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
pointer grem::SmallBuffer< T, SmallCapacity, Allocator >::data ( )
inlinenodiscardnoexcept

◆ data() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_pointer grem::SmallBuffer< T, SmallCapacity, Allocator >::data ( ) const
inlinenodiscardnoexcept

◆ begin() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::begin ( )
inlinenodiscardnoexcept

◆ begin() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::begin ( ) const
inlinenodiscardnoexcept

◆ cbegin()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::cbegin ( ) const
inlinenodiscardnoexcept

◆ end() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::end ( )
inlinenodiscardnoexcept

◆ end() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::end ( ) const
inlinenodiscardnoexcept

◆ cend()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::cend ( ) const
inlinenodiscardnoexcept

◆ rbegin() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reverse_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::rbegin ( )
inlinenodiscardnoexcept

◆ rbegin() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reverse_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::rbegin ( ) const
inlinenodiscardnoexcept

◆ crbegin()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reverse_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::crbegin ( ) const
inlinenodiscardnoexcept

◆ rend() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reverse_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::rend ( )
inlinenodiscardnoexcept

◆ rend() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reverse_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::rend ( ) const
inlinenodiscardnoexcept

◆ crend()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
const_reverse_iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::crend ( ) const
inlinenodiscardnoexcept

◆ empty()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
bool grem::SmallBuffer< T, SmallCapacity, Allocator >::empty ( ) const
inlinenodiscardnoexcept

◆ size()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
size_type grem::SmallBuffer< T, SmallCapacity, Allocator >::size ( ) const
inlinenodiscardnoexcept

◆ max_size()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
size_type grem::SmallBuffer< T, SmallCapacity, Allocator >::max_size ( ) const
inlinenodiscardnoexcept

◆ reserve()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::reserve ( size_type newCapacity)
inline

◆ capacity()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
size_type grem::SmallBuffer< T, SmallCapacity, Allocator >::capacity ( ) const
inlinenodiscardnoexcept

◆ shrink_to_fit()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::shrink_to_fit ( )
inline

◆ clear()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::clear ( )
inlinenoexcept

◆ insert() [1/5]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert ( const_iterator pos,
const T & value )
inline

◆ insert() [2/5]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert ( const_iterator pos,
T && value )
inline

◆ insert() [3/5]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert ( const_iterator pos,
size_type count,
const T & value )
inline

◆ insert() [4/5]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert ( const_iterator pos,
InputIterator first,
Sentinel last )
inline

◆ insert() [5/5]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert ( const_iterator pos,
std::initializer_list< T > ilist )
inline

◆ insert_range()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<typename R>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert_range ( const_iterator pos,
R && r )
inline

◆ append_range()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<typename R>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::append_range ( R && r)
inline

◆ insert_unspecified_value() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert_unspecified_value ( const_iterator pos)
inline

◆ insert_unspecified_value() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::insert_unspecified_value ( const_iterator pos,
size_type count )
inline

◆ erase() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::erase ( const_iterator pos)
inline

◆ erase() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
iterator grem::SmallBuffer< T, SmallCapacity, Allocator >::erase ( const_iterator first,
const_iterator last )
inline

◆ push_back_and_overwrite()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reference grem::SmallBuffer< T, SmallCapacity, Allocator >::push_back_and_overwrite ( auto overwrite)
inlineconstexpr

◆ push_back_unspecified_value()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
reference grem::SmallBuffer< T, SmallCapacity, Allocator >::push_back_unspecified_value ( )
inlineconstexpr

◆ push_back() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::push_back ( const T & value)
inlineconstexpr

◆ push_back() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::push_back ( T && value)
inlineconstexpr

◆ pop_back()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::pop_back ( )
inline

◆ resize() [1/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::resize ( size_type count)
inline

◆ resize() [2/2]

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::resize ( size_type count,
const value_type & value )
inline

◆ resize_and_overwrite_added_values()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::resize_and_overwrite_added_values ( size_type count,
auto overwrite )
inlineconstexpr

◆ swap()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void grem::SmallBuffer< T, SmallCapacity, Allocator >::swap ( SmallBuffer< T, SmallCapacity, Allocator > & other)
inlinenoexcept

◆ operator==()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
bool grem::SmallBuffer< T, SmallCapacity, Allocator >::operator== ( const SmallBuffer< T, SmallCapacity, Allocator > & other) const
inlinenodiscard

◆ operator<()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
bool grem::SmallBuffer< T, SmallCapacity, Allocator >::operator< ( const SmallBuffer< T, SmallCapacity, Allocator > & other) const
inlinenodiscard

◆ operator<=()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
bool grem::SmallBuffer< T, SmallCapacity, Allocator >::operator<= ( const SmallBuffer< T, SmallCapacity, Allocator > & other) const
inlinenodiscard

◆ operator>()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
bool grem::SmallBuffer< T, SmallCapacity, Allocator >::operator> ( const SmallBuffer< T, SmallCapacity, Allocator > & other) const
inlinenodiscard

◆ operator>=()

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
bool grem::SmallBuffer< T, SmallCapacity, Allocator >::operator>= ( const SmallBuffer< T, SmallCapacity, Allocator > & other) const
inlinenodiscard

◆ swap

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
void swap ( SmallBuffer< T, SmallCapacity, Allocator > & a,
SmallBuffer< T, SmallCapacity, Allocator > & b )
friend

◆ erase

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<typename U>
size_type erase ( SmallBuffer< T, SmallCapacity, Allocator > & c,
const U & value )
friend

◆ erase_if

template<typename T, std::size_t SmallCapacity, typename Allocator = std::allocator<T>>
template<typename Predicate>
size_type erase_if ( SmallBuffer< T, SmallCapacity, Allocator > & c,
Predicate predicate )
friend

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