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: c++/9419: inherited member in template doesnt work


Synopsis: inherited member in template doesnt work

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Thu Jan 23 16:21:19 2003
State-Changed-Why:
    That's how C++ is supposed to work. Name loopup inside
    templates does not look into base classes, and since your
    variable's name is not obviously template type dependent,
    you need to tell the compiler that it depends on the
    template type, for example by using this->

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9419


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