The OpenD Programming Language

FallbackAllocator.alignedAllocate

FallbackAllocator offers alignedAllocate iff at least one of the allocators also offers it. It attempts to allocate using either or both.

struct FallbackAllocator(Primary, Fallback)
static if(hasMember!(Primary, "alignedAllocate") || hasMember!(Fallback, "alignedAllocate"))
void[]
alignedAllocate
(
size_t s
,
uint a
)

Meta