CallbackInstaceDestructor.destruct

Destruct a component of type T and deallocate it using stored allocator.

class CallbackInstaceDestructor(T, Dg : void delegate(RCIAllocator, ref T destructable, Args), Args...)
@trusted
void
destruct
()

Parameters

destructable T

element to be destructed and deallocated using stored allocator

Meta