• A class containing (or inheriting) one or more pure virtual functions is an abstract base class.

    类包含或者继承一个或多个纯虚函数,这样的类就是抽象基类。

    youdao

  • In a base class, abstract class is defined by declaring pure virtual function, a derived class must define all inherited pure virtual functions of its base classes to be concrete.

    在基类中可以通过将虚函数声明为纯虚函数的手段来定义抽象类,强制派生类在自己的类定义中实现虚函数的具体功能。

    youdao

  • What's the point of virtual functions other than allowing a function of the same name in the derived class?

    虚拟以外的其他功能允许在派生类的函数的名称相同点是什么?

    youdao

  • Can derived class have two sets of virtual functions?

    派生类可以有两套虚函数?

    youdao

  • Member template functions cannot be virtual functions and cannot override virtual functions from a base class when they are declared with the same name as a base class virtual function.

    当使用与基类虚函数相同的名称进行声明时,成员模板函数不能是虚函数并且不能从基类重写虚函数。

    youdao

  • Member template functions cannot be virtual functions and cannot override virtual functions from a base class when they are declared with the same name as a base class virtual function.

    当使用与基类虚函数相同的名称进行声明时,成员模板函数不能是虚函数并且不能从基类重写虚函数。

    youdao

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

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

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