C++0x now with lambda and closure

Jacob Carlborg doobnet at gmail.com
Mon Mar 31 16:05:26 PDT 2008


guslay wrote:
> For those keeping track...
> 
> http://herbsutter.spaces.live.com/
> 
> Crazy syntax, at least it looks better than boost.
> 

I like the C# syntax:
listOfFoo.Where(x => x.size > 10);

even better if you could have this syntax (but perhaps it won't work):
listOfFoo.Where((x) x.size > 10);

I would be nice to have that in D


More information about the Digitalmars-d-announce mailing list