CodePudding user response:
Listed private inheritance: after the access specifiers the base class's public and protected members in the derived class is private members, and private members of the base class for derived classes is inaccessibleCodePudding user response:
Listed private inheritance: after the access specifiers the base class's public and protected members in the derived class is private members, and private members of the base class for derived classes is inaccessible