https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115052
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- MSVC rejects it also with the similar error message as GCC: <source>(5): error C3493: 'a2' cannot be implicitly captured because no default capture mode has been specified While EDG accepts it. So it is 2 compilers that accept it and 2 compilers that reject it.