class X { public : int a,b; }; class Y : private X { protected : X::a };
© Ing. Stefano Salvi - All rights reserved