Allocator.allocate

Allocates size bytes of memory.

interface Allocator
shared pure nothrow @nogc
void[]
allocate
(
size_t size
)

Parameters

size size_t

Amount of memory to allocate.

Return Value

Type: void[]

Pointer to the new allocated memory.

Meta