public [C++ Reference]
Keywords: keywords,public
Date: 2008-10-14T15:42:05-0700

[[public]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## public

Public data in a class are accessible to everyone. The public keyword can also be used as an inheritance specifier, which causes all public and protected members of the base class to become public and protected members of the derived class.

Related Topics: class, private, protected

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •