class X { int a; // X::a is private by default }; struct S { int a; // S::a is public by default };
Ref. Working Draft, Standard for Programming Language C++
No comments:
Post a Comment