[Bug c++/125575] explicit instantiation of variable template misses type check

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 2 16:36:19 GMT 2026


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
[temp.explicit] has this note:

These declarations need to have matching types as specified in [basic.link],
except as specified in [except.spec].


More information about the Gcc-bugs mailing list