This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25863] Allowed knowledge of private structure.
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2006 05:04:50 -0000
- Subject: [Bug c++/25863] Allowed knowledge of private structure.
- References: <bug-25863-8397@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bangerth at dealii dot org 2006-03-08 05:04 -------
This is how it is supposed to be. Note that access control (i.e. whether
you can or cannot use a name) is not implemented by "hiding" the name.
The name of private members is always available, you may simply not
access it (unless you're a friend or member).
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25863