" G++ supports C++1y lambda capture initializers: [x = 42]{ ... }; Actually, they have been accepted since GCC 4.5, but now the compiler doesn't warn about them with -std=c++1y, and supports parenthesized and brace-enclosed initializers as well. " So it states pretty clearly what is supported only since 4.9 > > - Anders -- Regards, Konstantin