[Bug c++/17267] Reuse of template parameter name not diagnosed
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 10 17:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17267
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Last reconfirmed|2006-02-26 19:40:00 |2014-6-10
Known to fail| |
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
14.6.1 [temp.local]
-6- A template-parameter shall not be redeclared within its scope (including
nested scopes). A template-parameter shall not have the same name as the
template name.
More information about the Gcc-bugs
mailing list