StatsCollector.parent

The parent allocator is publicly accessible either as a direct member if it holds state, or as an alias to Allocator.instance otherwise. One may use it for making calls that won't count toward statistics collection.

struct StatsCollector(Allocator, ulong flags = Options.all, ulong perCallFlags = 0)
static if(stateSize!Allocator)
Allocator parent;

Meta