destructor

Use method of destructor to destroy component.

Use method of destructor to destroy component. By convention it is assumed that first argument is destroyed compnent followed by optional arguments.

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

Parameters

method

destructor's method used to destroy component

factory Z

component factory

destructor X

actual destructor that will destroy object

args Args

arguments passed to destructor

Return Value

Type: Z

factory

Meta