Region.deallocate

Deallocates b. This works only if b was obtained as the last call to allocate; otherwise (i.e. another allocation has occurred since) it does nothing.

struct Region(ParentAllocator = NullAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
pure nothrow @nogc
bool
deallocate
(
void[] b
)

Parameters

b void[]

Block previously obtained by a call to allocate against this allocator (null is allowed).

Meta