destructor

Use delegate T for destruction of component.

  1. Z destructor(Z factory, void delegate(RCIAllocator, ref T, Args) dg, Args args)
    @safe
    Z
    destructor
    (
    Z : InstanceDestructorAware!T
    T
    Args...
    )
    (,
    void delegate
    (
    RCIAllocator
    ,
    ref T
    ,
    Args
    )
    dg
    ,
    Args args
    )
  2. Z destructor(Z factory, X destructor, Args args)
  3. Z destructor(Z factory, Args args)

Parameters

factory Z

component factory which will use delegate to destroy component

dg void delegate
(
RCIAllocator
,
ref T
,
Args
)

destruction delegate

args Args

optional arguments to delegate

Return Value

Type: Z

factory

Meta