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.

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

Meta