heapDealloc

Deallocates heapAlloc allocated memory. It automatically calls the object destructor and removes it from GC scanning (no effect if not added there)

@trusted
void
heapDealloc
(
T
)
(
ref T obj
)
if (
isPointer!T &&
is(PointerTarget!T == struct)
)

Meta