This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/14376] [3.4 regression] scoping problem in template child class



On Mar 1, 2004, at 17:23, nick at ilm dot com wrote:



------- Additional Comments From nick at ilm dot com 2004-03-02 01:23 -------
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?


-nick

No the part of the look is done at declaration time and the other part is done
at instantiation time. If the function or variable was dependent on the template
parameter it would be looked up at instantiation time.



Thanks, Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]