PoolAllocator

Undocumented in source.

Constructors

this
this(size_t pool_size)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

alloc
void[] alloc(size_t sz, bool must_zeroise)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free(void[] mem, bool must_zeroise)
Undocumented in source. Be warned that the author may not have intended to support it.
freeAll
void freeAll(bool must_zeroise)
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void onDestroy(void delegate() nothrow @(trusted) dtor)
Undocumented in source. Be warned that the author may not have intended to support it.
realloc
void[] realloc(void[] arr, size_t newsize, bool must_zeroise)
Undocumented in source. Be warned that the author may not have intended to support it.
removeArrayDtors
void removeArrayDtors(void delegate() nothrow @(trusted) last_dtor, size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset(bool must_zeroise)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

allocatedSize
size_t allocatedSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
totalSize
size_t totalSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Pool
struct Pool
Undocumented in source.

Variables

id
int id;
Undocumented in source.
m_poolSize
size_t m_poolSize;
Undocumented in source.

Meta