BitmappedBlock.blockSize

If blockSize == chooseAtRuntime, BitmappedBlock offers a read/write property blockSize. It must be set before any use of the allocator. Otherwise (i.e. theBlockSize is a legit constant), blockSize is an alias for theBlockSize. Whether constant or variable, must also be a multiple of alignment. This constraint is asserted statically and dynamically.

  1. alias blockSize = theBlockSize
    struct BitmappedBlock(size_t theBlockSize, uint theAlignment = platformAlignment, ParentAllocator = NullAllocator)
    static if(theBlockSize != chooseAtRuntime)
    alias blockSize = theBlockSize
  2. uint blockSize [@property getter]
  3. uint blockSize [@property setter]

Meta