https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113802
Bug ID: 113802 Summary: gcc rejects auto f(this auto self...) { } Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- struct S { auto f(this auto self...) { } }; int main() { S{}.f(); } https://godbolt.org/z/a81WPW65f GCC rejects the above code with: <source>:2:10: error: an explicit object parameter cannot be a function parameter pack 2 | auto f(this auto self...) { } | ^~~~~~~~~~~~~~ But there is no parameter pack here, this should be a variadic function (I think?) Only `auto f(this auto...) { }` has parameter pack.