Function name as text

Jarrett Billingsley kb3ctd2 at yahoo.com
Thu Dec 6 11:11:29 PST 2007


"Don Clugston" <dac at nospam.com.au> wrote in message 
news:fj8ap7$29k9$1 at digitalmars.com...
>
> Or you could use an alias template parameter, to give the syntax:
>
> Event event = dispatch!(foo.bar);
>

Unfortunately not, since passing foo.bar to an alias parameter will get you 
an alias to the method bar instead of the entire expression.  :\ 





More information about the Digitalmars-d mailing list