[Bug c++/56190] GCC fails deducing a "void(*)(int, float, double)" to a "void(*)(T..., float, double)" with T={int}
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 31 23:32:05 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56190
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Simplier example:
```
int func(int, char);
template<typename... TArgs>
int testFunc(int (*)(TArgs..., char));
int x = testFunc<int>(func);
```
More information about the Gcc-bugs
mailing list