https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87629
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Agreed, the call to x_func(Tfoo) deducing Args as an empty pack, and then deduces T as int for the argument to the x<>::x(void(*)(int)) constructor.