The OpenD Programming Language

StatsCollector.allocate

Forwards to parent.allocate. Affects per instance: numAllocate, bytesUsed, bytesAllocated, bytesSlack, numAllocateOK, and bytesHighTide. Affects per call: numAllocate, numAllocateOK, and bytesAllocated.

struct StatsCollector(Allocator, ulong flags = Options.all, ulong perCallFlags = 0)
static if(!(perCallFlags & (Options.numAllocate | Options.numAllocateOK | Options.bytesAllocated)))
void[]
allocate
(
size_t n
)

Meta