Allocator

Allocator interface.

Members

Functions

allocate
void[] allocate(size_t size)

Allocates size bytes of memory.

deallocate
bool deallocate(void[] p)

Deallocates a memory block.

reallocate
bool reallocate(void[] p, size_t size)

Increases or decreases the size of a memory block.

Properties

alignment
immutable(uint) alignment [@property getter]

Meta