The OpenD Programming Language

Quantizer.alignedReallocate

Defined only if ParentAllocator.alignedAllocate exists. Expansion occurs in place under the conditions required by expand. Shrinking occurs in place if goodAllocSize(b.length) == goodAllocSize(s).

struct Quantizer(ParentAllocator, alias roundingFunction)
static if(hasMember!(ParentAllocator, "alignedAllocate"))
bool
alignedReallocate
(
ref void[] b
,
size_t s
,
uint a
)

Meta