C++0x now with lambda and closure

Ary Borenszweig ary at esperanto.org.ar
Tue Apr 1 05:31:25 PDT 2008


downs wrote:
> Jacob Carlborg wrote:
>> 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
> 
> Well, _kinda_ with tools :)
> 
> listOfFoo /select/ ex!("x -> x.size > 10");
> 
> :)

Except that Visual Studio offers you autocompletion. But in strings...


More information about the Digitalmars-d-announce mailing list