isUnalignedAllocator

Returns true if A is an unaligned allocator.

The following code should compile for any unaligned allocator.

A a = void;
auto p = a.tryUnalignedAllocate(cast(size_t) 1);
auto q = a.tryUnalignedReallocate(p, cast(size_t) 1, cast(size_t) 1);
a.unalignedFree(p);
static assert(is(typeof(p) == void*) && is(typeof(q) == void*));
enum isUnalignedAllocator (
A
)

Meta