https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623

--- Comment #8 from Ed Catmur <ed at catmur dot uk> ---
(In reply to jim x from comment #7)
> ````
> auto f(auto..., auto a, auto...) { return a; }
> ````
> IIUC, this is just disallowed since all arguments would only match the first
> function parameter pack.

Maybe? But all 4 major compilers currently permit it (with identical behavior),
so is it worth breaking existing code by disallowing it?

Reply via email to