The OpenD Programming Language

ContiguousFreeList.this

Constructors setting up the memory structured as a free list.

  1. this(ubyte[] buffer)
  2. this(ParentAllocator parent, ubyte[] buffer)
  3. this(size_t bytes)
  4. this(ParentAllocator parent, size_t bytes)
    struct ContiguousFreeList(ParentAllocator, size_t minSize, size_t maxSize = minSize)
    static if(stateSize!ParentAllocator)
    this
    (
    ParentAllocator parent
    ,
    size_t bytes
    )
  5. this(size_t bytes, size_t max)
  6. this(ParentAllocator parent, size_t bytes, size_t max)
  7. this(size_t bytes, size_t min, size_t max)
  8. this(ParentAllocator parent, size_t bytes, size_t min, size_t max)

Parameters

parent ParentAllocator

Parent allocator. For construction from stateless allocators, use their instance static member.

bytes size_t

Bytes (not items) to be allocated for the free list. Memory will be allocated during construction and deallocated in the destructor.

Meta