https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 68177, which changed state.
Bug 68177 Summary: Lambda capture doesn't work correctly when lambda is used in a pack expansion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68177 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED