mn_fixed_vector.hpp
Go to the documentation of this file.
66 class basic_fixed_vector : public basic_vector<T, TAllocator, fixed_vector_storage<T, TAllocator, TCapacity> > {
85 explicit basic_fixed_vector(size_type initialSize, const allocator_type& allocator = allocator_type())
88 basic_fixed_vector(const pointer first, const pointer last, const allocator_type& allocator = allocator_type())
Definition: mn_fixed_vector.hpp:66
ptrdiff_t difference_type
Definition: mn_fixed_vector.hpp:73
basic_fixed_vector(const self_type &rhs, const allocator_type &allocator=allocator_type())
Definition: mn_fixed_vector.hpp:91
basic_fixed_vector(const allocator_type &allocator=allocator_type())
Definition: mn_fixed_vector.hpp:82
self_type & operator=(const self_type &rhs)
Definition: mn_fixed_vector.hpp:103
TAllocator allocator_type
Definition: mn_fixed_vector.hpp:78
basic_fixed_vector(size_type initialSize, const allocator_type &allocator=allocator_type())
Definition: mn_fixed_vector.hpp:85
const pointer const_iterator
Definition: mn_fixed_vector.hpp:76
basic_fixed_vector(const pointer first, const pointer last, const allocator_type &allocator=allocator_type())
Definition: mn_fixed_vector.hpp:88
Definition: mn_vector.hpp:117
const allocator_type & get_allocator() const
Definition: mn_vector.hpp:377
void set_allocator(const allocator_type &allocator)
Definition: mn_vector.hpp:381
Basic vector container This file is part of the Mini Thread Library (https://github....
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
Definition: mn_allocator_typetraits.hpp:25
typename internal::type_with_alignment< alignment_of< T >::res > res
Definition: mn_alignment.hpp:133
Definition: mn_fixed_vector.hpp:26
void destroy(pointer ptr, size_type n)
Definition: mn_fixed_vector.hpp:48
void reallocate_discard_old(size_type newCapacity)
Definition: mn_fixed_vector.hpp:45
mn::size_t size_type
Definition: mn_fixed_vector.hpp:32
TAllocator allocator_type
Definition: mn_fixed_vector.hpp:27
TAllocator m_allocator
Definition: mn_fixed_vector.hpp:61
typename aligned_as< value_type >::res etype_t
Definition: mn_fixed_vector.hpp:33
fixed_vector_storage(const TAllocator &allocator)
Definition: mn_fixed_vector.hpp:35
void reallocate(size_type newCapacity, size_type oldSize)
Definition: mn_fixed_vector.hpp:42
allocator_type m_data[(TCapacity *sizeof(T))/sizeof(etype_t)]
Definition: mn_fixed_vector.hpp:59
value_type & reference
Definition: mn_fixed_vector.hpp:31
pointer m_capacityEnd
Definition: mn_fixed_vector.hpp:60
bool invariant() const
Definition: mn_fixed_vector.hpp:53
size_type m_max_size
Definition: mn_fixed_vector.hpp:62
Definition: mn_iterator.hpp:36