KRRegion.this

Create a KRRegion. If ParentAllocator is not NullAllocator, KRRegion's destructor will call parent.deallocate.

  1. this(ubyte[] b)
  2. this(size_t n)
  3. this(ParentAllocator parent, size_t n)
    struct KRRegion(ParentAllocator = NullAllocator)
    static if(!is(ParentAllocator == NullAllocator) && stateSize!ParentAllocator)
    this
    (
    ParentAllocator parent
    ,
    size_t n
    )

Parameters

n size_t

Capacity desired. This constructor is defined only if ParentAllocator is not NullAllocator.

Meta