c++中继承为什么设计成派生类中新加的方法不能访问基类的私有成员? 知乎链接 C++ is a language in which your parent cannot touch your private but your friend can.好像跑题了。