go top

保护派生类

网络释义

  protected derived class

...生类时将基类的继承方式指定为protected的,称为保护继承,用保护继承方式建立的派生类称为保护派生类(protected derived class),其基类称为受保护的基类(protected base class),简称保护基类。

基于28个网页-相关网页

有道翻译

保护派生类

Protected derived class

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 某些情况下通过限制及其派生类访问权可以数据声明保护的”。

    In some cases, data can be declared as "protected," with access limited to the class and its derivatives.

    youdao

  • 成员严格保护能见度可见声明它们任何派生无论在声明。

    Class members with strict protected visibility are visible within the class in which they are declared, and within any descendent class, regardless of where it is declared.

    youdao

  • 如果显式实现成员功能意在派生特殊化,则一定要提供具有相同功能的保护虚拟成员。

    Do provide a protected virtual member that offers the same functionality as the explicitly implemented member if the functionality is meant to be specialized by derived classes.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定