https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86943 --- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- See the glambda example in http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3649.html Core 1937 seems relevant here.