StatsCollector.expand

Defined whether or not Allocator.expand is defined. Affects per instance: numExpand, numExpandOK, bytesExpanded, bytesSlack, bytesAllocated, and bytesUsed. Affects per call: numExpand, numExpandOK, bytesExpanded, and bytesAllocated.

struct StatsCollector(Allocator, ulong flags = Options.all, ulong perCallFlags = 0)
static if(!(perCallFlags & (Options.numExpand | Options.numExpandOK | Options.bytesExpanded)))
bool
expand
(
ref void[] b
,
size_t delta
)

Meta