https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 82980, which changed state.
Bug 82980 Summary: [9/10 Regression] template keyword should not be required for captured decl of the "base" type since r6-6866-gff2faafcf689b6c2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82980 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED