tags:

views:

1120

answers:

4

Are there C++ compilers already supporting C++0x lambda expressions?

+10  A: 

Visual Studio 2010 CTP supports it already.

Update: It is now Visual Studio 2010 Beta 2

Ferruccio
2010? Is that a joke or not?
Robert Gould
no it's not a joke. it supports it really
Johannes Schaub - litb
you can checkout the gcc lambda branch and experiment. in #geordi at irc.freenode.org there is already a gcc bot running lambda-gcc.
Johannes Schaub - litb
http://blogs.msdn.com/vcblog/archive/2008/10/28/lambdas-auto-and-static-assert-c-0x-features-in-vc10-part-1.aspx
Johannes Schaub - litb
+1 because it wasn't a joke. Thanks for the info.
Robert Gould
Microsoft has come a long way since VS 6 when it comes to compatibility and willingness to adopt c++ changes :)
Laserallan
+7  A: 

g++ is underway.

gnud
It was included some time ago.
Maciej Piechotka
+2  A: 

Intel C++ Compiler does, e.g. according to TBB Tutorial.

goodrone
+1  A: 

G++ supports it in 4.5 if you enable it using -std=gnu++0x.

luispedro