[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppPrivate
Declare data members private [1].
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppPrivate
(C++) private
keyword. The private member variables and functions of a class can only be called/changed by the class itself.Declare data members private [1].
'private' links
References
- Scott Meyers. Effective C++ (3rd edition).ISBN: 0-321-33487-6. Item 22: Declare data members private.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
