[Bug c++/24657] [3.4/4.0/4.1 Regression] bizarre diagnostic when a member variable and a template parameter have the same name
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Wed Nov 16 19:15:00 GMT 2005
------- Comment #7 from gdr at integrable-solutions dot net 2005-11-16 19:14 -------
Subject: Re: [3.4/4.0/4.1 Regression] bizarre diagnostic on valid (?)
constructor
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| I'm pretty sure I've seen this somewhere before -- the question was indeed
| which name should be looked up, the template name or the name of a member
| variable.
Indeed this is an issue. Discussion in on the -core reached the
consensus that we could change the lookup rules for member templates
so that template parameters for *member* templates would be searched,
before members of the enclosing class. But I don't recall the issue
has attained an advanced state yet. Note that in the older "issue",
there actually are TWO separate issues.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24657
More information about the Gcc-bugs
mailing list