(这也那是为什么你从一个的 private base class(私有基类)继承的每一件物品都在你的 class(类)中变成 private(私有)的理由:它全部都是出现的细节。
基于62个网页-相关网页
Marking the base class as "private" allowed the derived class to inherit from it without actually becoming one of them.
将基类标记为 “私有” 允许派生类从该基类继承而来,而无需实际成为 一个基类。
The customer class can be an abstract base class for a family of different customer types, such as private or business customer.
客户类可以是用于许多不同客户类型的抽象基类,比如说私有客户或业务客户。
应用推荐