Cast delegate and functions.
Wolftein
agustin.l.alvarez at hotmail.com
Thu Oct 31 06:12:30 PDT 2013
void delegate(Event)
void delegate(T) Where T is a class that inherits Event.
I'm trying to cast (void delegate(T)) to (void delegate(Event))
to be able to store them in a map, but when i cast them i get
null exeception.
Same thing for cast things like this
TemplateClass!Plugin
TemplateClass!OtherTypeOfPlugin -> Being OtherTypeOfPlugin
inherit Plugin
Using C++ this is allowed.
More information about the Digitalmars-d-learn
mailing list