So much talk about lambda functions... So I tried to write mine. :(. It did not work. Does g++ 4.3.2 support lambda functions? How to find out whether it supports a certain c++0x feature or not?
Asked
Active
Viewed 2,740 times
1 Answers
10
Take a look at Apaches C++0x Compiler Support page or GCCs C++0x pages. Only GCC >= 4.5 supports lambda functions.
If you need to write something that optionally takes advantage of lambda support you could do so conditionally depending on the GCC version or Boost.Configs BOOST_NO_LAMBDAS
.

Georg Fritzsche
- 97,545
- 26
- 194
- 236