Function name as text
Craig Black
cblack at ara.com
Wed Dec 5 13:44:10 PST 2007
OK I think it's possible with mixins but the syntax is ugly. It would be
Event event = mixin(dispatch("&foo.bar"));
Which leads me to an idea that has probably been proposed before. It would
be nice if I could shorten this to simply
Event event = dispatch(&foo.bar);
There may be reasons why this syntax would be difficult to achieve, but I
think it would be worthwhile if we could.
Thoughts?
-Craig
More information about the Digitalmars-d
mailing list