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)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free(void[] mem)
Undocumented in source. Be warned that the author may not have intended to support it.
freeAll
void freeAll()
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void onDestroy(void delegate() dtor)
Undocumented in source. Be warned that the author may not have intended to support it.
realloc
void[] realloc(void[] arr, size_t newsize)
Undocumented in source. Be warned that the author may not have intended to support it.
removeArrayDtors
void removeArrayDtors(void delegate() last_dtor, size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
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