#include <selfcontained.hpp>
The data members that are allocated in the first chunk of the allocator.
Definition at line 93 of file selfcontained.hpp.
Public Fields | |
| MonoAllocator | allocator |
| TContained | custom |
| MonoAllocator::Snapshot | snapshot |
Public Methods | |
| template<typename... TArgs> | |
| Fields (MonoAllocator::Chunk *firstChunk, size_t initialChunkSize, unsigned int chunkGrowthInPercent, TArgs &&... args) | |
|
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 116 of file selfcontained.hpp.
| MonoAllocator allocator |
The allocator that this class is contained in.
Definition at line 96 of file selfcontained.hpp.
| TContained custom |
The custom fields
Definition at line 102 of file selfcontained.hpp.
| MonoAllocator::Snapshot snapshot |
Snapshot pointing behind this object in the first allocated chunk.
Definition at line 99 of file selfcontained.hpp.