This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]