anonymous function/deleget usage
Sam Hu
samhu.samhu at nospam.com
Thu Nov 12 03:53:05 PST 2009
How can I reach something like below code:
int a=1;
int b=2;
int c=(int a,int b){
return a+b;}
writefln("Result:%d",c);
Thanks in advance.
More information about the Digitalmars-d-learn
mailing list