mn::container::basic_vector_storage< T, TAllocator > Struct Template Reference
#include <mn_vector.hpp>
Inheritance diagram for mn::container::basic_vector_storage< T, TAllocator >:
Collaboration diagram for mn::container::basic_vector_storage< T, TAllocator >:
Public Types | |
using | allocator_type = TAllocator |
using | self_type = basic_vector_storage< T, TAllocator > |
using | value_type = T |
using | pointer = value_type * |
using | reference = value_type & |
using | lreference = T && |
using | size_type = mn::size_t |
Public Member Functions | |
basic_vector_storage (const allocator_type &allocator) | |
void | reallocate (size_type newCapacity, size_type oldSize) |
void | reallocate_discard_old (size_type newCapacity) |
void | destroy (pointer ptr, size_type n) |
void | reset () |
bool | invariant () const |
void | swap (self_type &other) |
Public Attributes | |
pointer | m_begin |
pointer | m_end |
pointer | m_capacityEnd |
allocator_type | m_allocator |
Member Typedef Documentation
◆ allocator_type
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::allocator_type = TAllocator |
◆ lreference
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::lreference = T&& |
◆ pointer
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::pointer = value_type* |
◆ reference
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::reference = value_type& |
◆ self_type
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::self_type = basic_vector_storage<T, TAllocator> |
◆ size_type
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::size_type = mn::size_t |
◆ value_type
template<typename T , class TAllocator = memory::default_allocator>
using mn::container::basic_vector_storage< T, TAllocator >::value_type = T |
Constructor & Destructor Documentation
◆ basic_vector_storage()
template<typename T , class TAllocator = memory::default_allocator>
|
inlineexplicit |
Member Function Documentation
◆ destroy()
template<typename T , class TAllocator = memory::default_allocator>
|
inline |
◆ invariant()
template<typename T , class TAllocator = memory::default_allocator>
|
inline |
◆ reallocate()
template<typename T , class TAllocator = memory::default_allocator>
|
inline |
◆ reallocate_discard_old()
template<typename T , class TAllocator = memory::default_allocator>
|
inline |
◆ reset()
template<typename T , class TAllocator = memory::default_allocator>
|
inline |
◆ swap()
template<typename T , class TAllocator = memory::default_allocator>
|
inline |
Member Data Documentation
◆ m_allocator
template<typename T , class TAllocator = memory::default_allocator>
allocator_type mn::container::basic_vector_storage< T, TAllocator >::m_allocator |
◆ m_begin
template<typename T , class TAllocator = memory::default_allocator>
pointer mn::container::basic_vector_storage< T, TAllocator >::m_begin |
◆ m_capacityEnd
template<typename T , class TAllocator = memory::default_allocator>
pointer mn::container::basic_vector_storage< T, TAllocator >::m_capacityEnd |
◆ m_end
template<typename T , class TAllocator = memory::default_allocator>
pointer mn::container::basic_vector_storage< T, TAllocator >::m_end |
The documentation for this struct was generated from the following file: