This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14376] [3.4 regression] scoping problem in template child class
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2004 01:35:29 -0000
- Subject: [Bug c++/14376] [3.4 regression] scoping problem in template child class
- References: <20040302000759.14376.nick@ilm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-03-02 01:35 -------
Subject: Re: [3.4 regression] scoping problem in template child class
"nick at ilm dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| Subject: Re: [3.4 regression] scoping problem in template child class
|
| I'm reading through 14.6.2 in the standard, and what it seems to say
| is the lookup of x should be done at instantiation time, during which
| it can examine the scope of the parent class. Am I reading it incorrectly?
You're mistaken. the lookup for the plain "x" should be done at
parsing time.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14376