虚拟继承 meaning in Chinese
virtual inheritance
Examples
- Declares virtual inheritance
声明虚拟继承 - A derived class can stop virtual inheritance by declaring an override as sealed
派生类可以通过将重写声明为密封的来停止虚拟继承。 - Will follow the rules of virtual inheritance , routing those calls to the implementation of
的调用将遵循虚拟继承的规则,即把这些调用传送到类c的 - In addition , keep in mind that virtually inherited objects have base pointers to address base objects
另外,永远不要忘记,虚拟继承的对象有指向基对象的基指针。 - A virtual inherited property can be overridden in a derived class by including a property declaration that uses the
修饰符的属性声明,可在派生类中重写虚拟继承属性。