anonymous function/deleget usage
bearophile
bearophileHUGS at lycos.com
Thu Nov 12 08:35:13 PST 2009
Steven Schveighoffer:
> int c = (){return a + b;}();
You can also write:
int c = {return a + b;}();
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list