The OpenD Programming Language

FreeList.min

If FreeList has been instantiated with minSize == chooseAtRuntime, then the min property is writable. Setting it must precede any allocation.

  1. size_t min [@property getter]
  2. size_t min [@property setter]
    struct FreeList(ParentAllocator, size_t minSize, size_t maxSize = minSize, Flag!"adaptive" adaptive = No.adaptive)
    @property
    static if(minSize == chooseAtRuntime)
    void
    min
    (
    size_t low
    )

Parameters

low size_t

new value for min

Precondition: low <= max, or maxSize == chooseAtRuntime and max has not yet been initialized. Also, no allocation has been yet done with this allocator.

Postcondition: min == low

Meta