go top

网络释义专业释义

短语

虚拟继承 Virtual Inheritance ; virtual public ; multiple and virtual inheritance

虚拟继承下的 Virtual Functions

  • virtual inheritance

·2,447,543篇论文数据,部分数据来源于NoteExpress

双语例句

  • 另外永远不要忘记虚拟继承对象指向对象的基指针

    In addition, keep in mind that virtually inherited objects have base Pointers to address base objects.

    youdao

  • 多重继承可能使我们不必处理后续问题重新我们引向虚拟继承而这是绝对避免的。

    Multiple inheritance might save us from the latter problem, but it would also lead us back to virtual inheritance, which we definitely want to avoid.

    youdao

  • 例如Microsoft Compiler 使用进程无关的偏移量虚拟继承指定对象因而存在这个问题

    For instance, Microsoft Compiler uses process-neutral offsets to address base objects for virtually inherited classes: thus, this issue does not arise.

    youdao

更多双语例句

百科

虚拟继承

虚拟继承是C++编程语言里的一种语法,使得派生类如果继承基类多次,但只有一份基类的拷贝在派生类对象中。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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