Sets the context and the function of a new delegate.
The context pointer, e.g a pointer to a struct or a class instance.
The pointer to the static function.
A new delegate of type T.
struct Foo { bool fun(){return true;} } Foo foo; bool delegate() atFun = getDelegate(&foo, &Foo.fun); assert(atFun());
See Implementation
Sets the context and the function of a new delegate.