callbackInstanceDestructor

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)
    callbackInstanceDestructor
    (
    T
    Dg : void delegate
    (
    RCIAllocator
    ,,
    Args
    )
    Args...
    )
    (
    Dg dg
    ,
    Args args
    )

Meta