is there a difference between those two notations

Timon Gehr timon.gehr at gmx.ch
Mon Apr 30 18:46:41 PDT 2012


On 04/30/2012 05:19 PM, Christian Köstlin wrote:
> reduce!((int a, int b){return a+b;})(iota(100))
> reduce!("a+b")(iota(100))
>
> thanks in advance
>
> christian koestlin

In this case there is not. But if external symbols are to be referred to 
inside the lambda, then the second notation cannot be used.


More information about the Digitalmars-d-learn mailing list