AlignedBlockList.deallocate

Deallocates the buffer b given as parameter. Deallocations take place in constant time, regardless of the number of nodes in the list. b.ptr is rounded down to the nearest multiple of the alignment to quickly find the corresponding AlignedBlockNode.

struct AlignedBlockList(Allocator, ParentAllocator, ulong theAlignment = (1 << 21))
version(StdDdoc)
bool
deallocate
(
void[] b
)

Parameters

b void[]

buffer candidate for deallocation

Return Value

Type: bool

true on success and false on failure

Meta