The OpenD Programming Language

InSituRegion.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. This semantics is tricky and therefore deallocate is defined only if Region is instantiated with Yes.defineDeallocate as the third template argument.

struct InSituRegion(size_t size, size_t minAlign = platformAlignment)
bool
deallocate
(
void[] b
)

Parameters

b void[]

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

Meta