https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122914
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is neither. The code is not valid but no diagnostic is required. If you instantiate box::func, it will always be rejected.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 30 Nov 2025 01:00:15 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122914
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is neither. The code is not valid but no diagnostic is required. If you instantiate box::func, it will always be rejected.