containers ~bsf-checks (2022-01-27T01:36:43.1057943)
Dub
Repo
BlockAllocator.allocate
memory
allocators
BlockAllocator
Standard allocator operation.
struct
BlockAllocator
(size_t blockSize)
pure nothrow @
trusted
void
[]
allocate
(
size_t
bytes
)
out (result) { import std.string; assert (result.length == bytes, format("Allocated %d bytes when %d" ~ " bytes were requested.", result.length, bytes)); }
Meta
Source
See Implementation
memory
allocators
BlockAllocator
destructors
~this
functions
allocate
manifest constants
alignment
maxAllocationSize
postblits
this(this)
Standard allocator operation.