c++中继承为什么设计成派生类中新加的方法不能访问基类的私有成员?


Author: Kimmy

c++中继承为什么设计成派生类中新加的方法不能访问基类的私有成员?

知乎链接


C++ is a language in which your parent cannot touch your private but your friend can.

好像跑题了。

创建时间:2015-09-22 最近更新时间:2023-11-03