Region.parent

The parent allocator. Depending on whether ParentAllocator holds state or not, this is a member variable or an alias for ParentAllocator.instance.

  1. ParentAllocator parent;
    struct Region(ParentAllocator = NullAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
    static if(stateSize!ParentAllocator)
    ParentAllocator parent;
  2. alias parent = ParentAllocator.instance

Meta