Allocator.cHeap

Allocator cHeap() static @safe pure nothrow @nogc

The C heap.

Every block carries a small header with the original pointer and is obtained by over-allocation, so any power-of-two alignment works identically on Linux, FreeBSD and Windows. Returned blocks are aligned to at least max(alignment, (void*).sizeof).

Returns

a stateless hook over the C heap.