AllocationContext

template AllocationContext (
Allocator = Mallocator
bool Atomic = true
) if (
isAllocator!Allocator
) {}

Members

Structs

Unique
struct Unique(T)

Unique memory owner, holds one instance of type T. Don't use it to hold built-in arrays, use custom array type instead. Deallocates in destructor.

Meta