This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13967] [3.3?/3.4/3.5 regression] template template argument identifier lookup fails scoping rules
- From: "gianni at mariani dot ws" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2004 19:17:47 -0000
- Subject: [Bug c++/13967] [3.3?/3.4/3.5 regression] template template argument identifier lookup fails scoping rules
- References: <20040201233401.13967.gianni@mariani.ws>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gianni at mariani dot ws 2004-02-02 19:17 -------
Giving this problem some more thought - I'm thinking that there should be some
kind of diagnostic if a template parameter is hidden, at least a warning. The
template parameter is useless (at least next to useless) if it's hidden and so
this is probably not what the coder expected.
I'm obviously not the only one who has been or is surprised by this behaviour.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13967