CallbackInstaceDestructor

Instance destructor that uses a callback to destroy and deallocate components of type T.

  1. class CallbackInstaceDestructor(T, Dg : void delegate(RCIAllocator, ref T destructable, Args), Args...)
  2. CallbackInstaceDestructor!(T, Dg, Args) callbackInstanceDestructor(Dg dg, Args args)

Members

Functions

destruct
void destruct(T destructable)

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

Mixins

__anonymous
mixin AllocatorAwareMixin!(typeof(this))
Undocumented in source.
__anonymous
mixin LocatorAwareMixin!(typeof(this))
Undocumented in source.
__anonymous
mixin ParameterHolder!(Args)
Undocumented in source.

Properties

dg
Dg dg [@property setter]

Set dg

dg
Dg dg [@property getter]

Get dg

Meta