AttributedFunction.opCall

Convenience wrapper tha creates stub delegate for free functions.

As those do not require context, passing delegate explicitly is not required.

  1. ReturnType!Function opCall(FunctionDg dg, T args)
  2. ReturnType!Function opCall(T args)
    struct AttributedFunction(alias Function, alias StoredArgTypes)
    ReturnType!Function
    opCall
    (
    T...
    )
    ()
    if (
    !is(T[0] == delegate)
    )

Meta