https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78896
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #2) > Jason, any thoughts on this? Shall we just disallow lambdas in > decompositions? Shall the standard say anything about those? Yes, the standard should probably explicitly prohibit this. We definitely should.