[Bug c++/25863] Allowed knowledge of private structure.

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 8 05:04:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list