GCC 4.5 just got released [1] and now supports lambda expressions [2] as
specified in the upcoming C++0x ISO C++ standard [3].
I'm finally going to be able to replace the homegrown templates used for
lambdas in the sca-cpp source tree (which were temporary, waiting for
GCC 4.5 to support the real thing) by the standard syntax [4][5].
The current trunk compiles OK with both gcc-4.4 and gcc-4.5. I'm going
to save it in a branches/gcc-4.4 branch and try to start the conversion
of trunk to the standard lambda syntax supported by gcc-4.5 some time
this weekend.
[1] http://gcc.gnu.org/gcc-4.5/
[2] http://en.wikipedia.org/wiki/Lambda_calculus
[3] http://gcc.gnu.org/gcc-4.5/cxx0x_status.html
[4] http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2927.pdf
[5] http://open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2798.pdf
--
Jean-Sebastien