[Bug c++/126797] explicit instantiation of function variadic template with const qualified explicit template type argument rejected
"waffl3x at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126797
--- Comment #4 from Waffl3x <waffl3x at gcc dot gnu.org> ---
Yeah you're right this is CWG1001.
I think I consider this a duplicate of PR125181 after finding this
case, maybe even duplicate of CWG1001? Will defer to you for that
decision.
https://godbolt.org/z/bY118dGjP
```
template <typename... Ts>
void f(Ts const...) {}
void (*p)(int) = &f<int>;
```
Will mirror this on PR125181.