PointerBumpCommon

Common code for pointer-bumping allocator implementations.

Context: ptr - pointer to next free element end - pointer to end of buffer bufferExhausted - method called when ptr==end (takes new size to allocate as parameter) BLOCKSIZE - default parameter to bufferExhausted

deprecated
mixin template PointerBumpCommon () {}

Members

Functions

allocate
RefType!T allocate()
Undocumented in source. Be warned that the author may not have intended to support it.
allocateMany
StorageType!T[] allocateMany(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta