https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103876
S. Davis Herring <herring at lanl dot gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herring at lanl dot gov --- Comment #2 from S. Davis Herring <herring at lanl dot gov> --- Probably the same bug from a simpler (and C++17-compatible) case: template<class ...TT> void f(const TT &...tt) { [tt...]() { ([tt] {},...); }(); } <source>:4:13: error: parameter packs not expanded with '...': 4 | ([tt] {},...); | ^ <source>:4:13: note: 'tt'