fact

Annotation that specifies a delegate to be used to instantiate component.

  1. auto fact(T delegate(RCIAllocator, Locator!(), Args) dg, Args args)
    @safe
    fact
    (
    T
    Args...
    )
    (
    T delegate
    (
    RCIAllocator
    ,,
    Args
    )
    dg
    ,
    Args args
    )
  2. auto fact(T function(RCIAllocator, Locator!(), Args) dg, Args args)
  3. struct CallbackFactoryAnnotation(Z, Dg, Args...)

Parameters

Args

type tuple of args that can be passed to delegate.

Meta