
28 Apr
2010
28 Apr
'10
7:58 p.m.
On 28/04/10 14:21, Hartmut Kaiser wrote:
//---8<--- #include <boost/spirit/include/karma.hpp>
int main() { []() { boost::spirit::karma::rule<char*> r; }; } //---8<---
The code you gave compiles just fine using g++ with --std=c++0x (I tried V4.3.4).
Really? I didn't think g++ supported lambdas until 4.5. The above code doesn't compile here on 4.4.3. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html http://gcc.gnu.org/gcc-4.4/cxx0x_status.html http://gcc.gnu.org/gcc-4.5/cxx0x_status.html John Bytheway