#include <fixed_vector.hpp>
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
struct std::fixed_vector_storage< T, TAllocator, TCapacity, TGrowOnOverflow >
◆ etype_t
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ fixed_vector_storage() [1/2]
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
base_vector::size_type m_max_size
Definition: fixed_vector.hpp:116
T * m_capacityEnd
Definition: fixed_vector.hpp:114
TAllocator m_allocator
Definition: fixed_vector.hpp:115
etype_t m_data[(TCapacity *sizeof(T))/sizeof(etype_t)]
Definition: fixed_vector.hpp:113
T * m_begin
Definition: fixed_vector.hpp:111
T * m_end
Definition: fixed_vector.hpp:112
◆ fixed_vector_storage() [2/2]
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ destroy()
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
aligned_as< T >::res etype_t
Definition: fixed_vector.hpp:110
TAllocator m_allocator
Definition: fixed_vector.hpp:115
etype_t m_data[(TCapacity *sizeof(T))/sizeof(etype_t)]
Definition: fixed_vector.hpp:113
void destruct_n(T *first, size_t n)
Definition: algorithm.hpp:88
◆ get_high_watermark()
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
base_vector::size_type m_max_size
Definition: fixed_vector.hpp:116
◆ invariant()
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
T * m_begin
Definition: fixed_vector.hpp:111
T * m_end
Definition: fixed_vector.hpp:112
◆ reallocate()
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
54 assert(!
"fixed_vector cannot grow");
56 T* newBegin =
static_cast<T*
>(
m_allocator.allocate(newCapacity *
sizeof(T)));
void copy_construct_n(T *first, size_t n, T *result)
Definition: algorithm.hpp:43
void destroy(T *ptr, base_vector::size_type n)
Definition: fixed_vector.hpp:89
T * m_capacityEnd
Definition: fixed_vector.hpp:114
TAllocator m_allocator
Definition: fixed_vector.hpp:115
int size_type
Definition: vector.hpp:43
void record_high_watermark()
Definition: fixed_vector.hpp:99
bool invariant() const
Definition: fixed_vector.hpp:95
T * m_begin
Definition: fixed_vector.hpp:111
T * m_end
Definition: fixed_vector.hpp:112
◆ reallocate_discard_old()
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
76 assert(!
"fixed_vector cannot grow");
78 T* newBegin =
static_cast<T*
>(
m_allocator.allocate(newCapacity *
sizeof(T)));
void destroy(T *ptr, base_vector::size_type n)
Definition: fixed_vector.hpp:89
T * m_capacityEnd
Definition: fixed_vector.hpp:114
TAllocator m_allocator
Definition: fixed_vector.hpp:115
int size_type
Definition: vector.hpp:43
void record_high_watermark()
Definition: fixed_vector.hpp:99
bool invariant() const
Definition: fixed_vector.hpp:95
T * m_begin
Definition: fixed_vector.hpp:111
T * m_end
Definition: fixed_vector.hpp:112
◆ record_high_watermark()
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
base_vector::size_type m_max_size
Definition: fixed_vector.hpp:116
int size_type
Definition: vector.hpp:43
T * m_begin
Definition: fixed_vector.hpp:111
T * m_end
Definition: fixed_vector.hpp:112
◆ m_allocator
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ m_begin
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ m_capacityEnd
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ m_data
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ m_end
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
◆ m_max_size
template<typename T, class TAllocator, int TCapacity, bool TGrowOnOverflow>
Die Dokumentation für diese Struktur wurde erzeugt aufgrund der Datei: