RollbackAllocator

Pointer-bump allocator with rollback functionality.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

allocate
void[] allocate(size_t size)

Allocates size bytes of memory.

make
auto make(Args args)

Allocates a T and returns a pointer to it

rollback
void rollback(size_t point)

Rolls back the allocator to the given checkpoint.

setCheckpoint
size_t setCheckpoint()

Get a checkpoint for the allocator.

Meta