This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26838] Legal program rejection - protected base method addressing fails from grandchild 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: 24 Mar 2006 00:02:23 -0000
- Subject: [Bug c++/26838] Legal program rejection - protected base method addressing fails from grandchild class
- References: <bug-26838-12399@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-24 00:02 -------
IIRC (there is a bug about this but I cannot find it) pointer to member
functions are special as you cannot use them to evade accessibility.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26838