dparse.rollback_allocator
struct RollbackAllocator
Types 1
structRollbackAllocator
Pointer-bump allocator with rollback functionality.
Fields
memoryAlignmentMethods
void[] allocate(const size_t size)Allocates `size` bytes of memory.void rollback(size_t point)Rolls back the allocator to the given checkpoint.auto make(T, Args...)(auto ref Args args)Allocates a T and returns a pointer to itDestructors
Nested Templates
Node