Translations of this page?:

private

Private data of a class can only be accessed by members of that class, except when friend is used. The private keyword can also be used to inherit a base class privately, which causes all public and protected members of the base class to become private members of the derived class.

Related Topics: class, friend, protected, public

 
• • • IndexRecent changesRSScc