This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21008] [3.4/4.0/4.1 Regression] Acess failure in accessing data member of base class from derived template class
- From: "william dot m dot miller at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2005 20:14:53 -0000
- Subject: [Bug c++/21008] [3.4/4.0/4.1 Regression] Acess failure in accessing data member of base class from derived template class
- References: <20050413215022.21008.nicoara@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From william dot m dot miller at gmail dot com 2005-04-20 20:14 -------
Responses to Wolfgang's two questions:
a) You're right; I was looking at the current WP rather than the 2003
Standard. Sorry. It's 9.3.1p2 in the 2003 Standard (the change from troff to
LaTeX resulted in some paragraphs being numbered differently, and I didn't
notice that this was one of those cases).
b) No, unary & applied to a qualified-id that names a non-static member is
always a pointer to member (5.3.1p2-3), regardless of whether the qualifier is
an injected-class-name or an ordinary class-name.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21008