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

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

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## protected

Protected data are private to their own class but can be inherited by derived classes. The protected keyword can also be used as an inheritance specifier, which causes all public and protected members of the base class to become protected members of the derived class.

Related Topics: class, private, public

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