A base class in C++ can be either public, protected, or private
Why is member access control in the individual classes A and B not sufficient?