Arthur Schwarz <aschwarz1...@verizon.net> writes: > "Remember: When a base class' access specifier is private, public and > protected members of the base become private members of the derived > class. This means that they are still accessible by members of the > derived class but cannot be accessed by parts of your program that are > not members of either the base or derived class."
This says that with private inheritance, _public_ and _protected_ mmbers of the base become private members of the derived class. It doesn't say anything about _private_ members of the base. They remain private to the base, and inaccessible in the derived class. Ian