[Bug c++/125333] Pack expansion of using-declaration of conversion operator 'taints' the type pack

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat May 16 01:08:40 GMT 2026


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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-05-16

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

Before GCC 13, GCC used to ouput this:
```
<source>:11:27: error: parameter packs not expanded with '...':
   11 |     using Y<V>::operator V...;
      |                           ^~~
<source>:11:27: note:         'V'
```

Which is wrong too.


More information about the Gcc-bugs mailing list