FlexibleDelegate.opCall

Calls the currently set delegate.

struct FlexibleDelegate(DelegateType)
static if(is(DelegateType FunctionType == delegate))
static if(is(FunctionType Parameters == __parameters))
static if(is(DelegateType ReturnType == return))
ReturnType
opCall
(
Parameters args
)

Common Problems

If the callback delegate has not been set, this may cause a null pointer dereference.

Meta