This is the mail archive of the gcc-prs@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++/8330: GCC 3.2 cannot deduce typename in derived template class.


Synopsis: GCC 3.2 cannot deduce typename in derived template class.

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Thu Oct 24 06:58:26 2002
State-Changed-Why:
    Not a bug.  If the type you want to access is in base class
    that depends on template parameter ("Base<C>" depends on "C"
    in this case), you need to qualify the type with base class name, i.e. "typename base_class<T>::base_type".
    "typename base_type" is not a valid C++ syntax there.

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


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