From: Paul Brannan Date: 2008-05-29T22:54:24+09:00 Subject: Re: [PATCH] lambda with normal block syntax On Wed, May 28, 2008 at 12:24:49PM +0900, Suraj N. Kurapati wrote: > [1] Of course, this has been my unfortunate experience of trying to > explain what lambda is to newcomers from C++: their eyes > glazed-over, thinking that it was mathematics (groan!) I guess. C++ is getting lambdas in the future: [&] (int arg1, Foo const & arg2) { return arg2.foo(arg1); } I'm surprised nobody's suggested that [&] be added as an alias for -> (please don't suggest it). Paul