7 template <
class T,
class Allocator,
class SizePolicy>
42 if (a_newSize > oldSize) {
43 Allocator::ConstructArray(this->
data + oldSize, a_newSize - oldSize);
50 Allocator::Construct(this->
data + this->
size - 1, a_val);
57 Allocator::ConstructAlt(this->
data + this->
size - 1, a_val);
65 Allocator::ConstructArray(this->
data + oldSize, a_count, a_other);
Definition AbsorbEffect.h:6
std::size_t UPInt
Definition SFTypes.h:5
Definition GArrayDataBase.h:7
void ResizeNoConstruct(const void *a_heapAddr, UPInt a_newSize)
Definition GArrayDataBase.h:82
void Reserve(const void *a_heapAddr, UPInt a_newCapacity)
Definition GArrayDataBase.h:46
T * data
Definition GArrayDataBase.h:98
UPInt size
Definition GArrayDataBase.h:99
SizePolicy policy
Definition GArrayDataBase.h:100
Definition GArrayData.h:9
void PushBackAlt(const S &a_val)
Definition GArrayData.h:54
void Resize(UPInt a_newSize)
Definition GArrayData.h:38
void PushBack(const ValueType &a_val)
Definition GArrayData.h:47
void Reserve(UPInt a_newCapacity)
Definition GArrayData.h:33
T ValueType
Definition GArrayData.h:11
Allocator AllocatorType
Definition GArrayData.h:12
GArrayData(std::int32_t a_size)
Definition GArrayData.h:21
void Append(const ValueType a_other[], UPInt a_count)
Definition GArrayData.h:60
SizePolicy SizePolicyType
Definition GArrayData.h:13
GArrayData()
Definition GArrayData.h:17
GArrayData(const SelfType &a_arrayData)
Definition GArrayData.h:27