This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34184] Scope broken for inherited members inside template class?
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2007 22:51:05 -0000
- Subject: [Bug c++/34184] Scope broken for inherited members inside template class?
- References: <bug-34184-14600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-08 22:51 -------
bar in the context of the base class is dependent so the code is invalid.
That is the base class of foo<T>::baz is depdentent.
Note you can declare a specialization of foo<T>::bar which shows that the code
is really dependent.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34184