The data members that are allocated in the first chunk of the allocator.
Definition at line 89 of file selfcontained.hpp.
#include <selfcontained.hpp>
Public Field Index: | |
MonoAllocator | allocator |
TContained | custom |
MonoAllocator::Snapshot | snapshot |
Public Method Index: | |
template<typename... TArgs> | |
Fields (MonoAllocator::Chunk *firstChunk, size_t initialChunkSize, unsigned int chunkGrowthInPercent, TArgs &&... args) | |
MonoAllocator allocator |
The allocator that this class is contained in.
Definition at line 92 of file selfcontained.hpp.
TContained custom |
The custom fields
Definition at line 98 of file selfcontained.hpp.
MonoAllocator::Snapshot snapshot |
Snapshot pointing behind this object in the first allocated chunk.
Definition at line 95 of file selfcontained.hpp.
|
inline |
Constructor.
TArgs | The argument types used for constructing TContained . |
firstChunk | The first argument to field allocator. |
initialChunkSize | The second argument to field allocator. |
chunkGrowthInPercent | Growth faktor in percent (*100), applied to each allocation of a next chunk size. Values provided should be greater than 100. |
args | The arguments to construct the instance of TContained . |
Definition at line 112 of file selfcontained.hpp.