The OpenD Programming Language

Quantizer.alignedAllocate

Defined only if parent.alignedAllocate exists and works similarly to allocate by forwarding to parent.alignedAllocate(goodAllocSize(n), a).

struct Quantizer(ParentAllocator, alias roundingFunction)
static if(hasMember!(ParentAllocator, "alignedAllocate"))
void[]
alignedAllocate
(
size_t n
,
uint a
)

Meta