• 首先,Vee -Table指针用于访问函数对数据成员访问直接使用编译偏移量实现

    First, the Vee-Table pointer is used to access virtual functions, and data members are accessed directly using compile time offsets.

    youdao

  • 如果函数函数并且调用通过引用或者指针编译器基于动态类型生成代码确定调用哪个版本

    If the function is virtual and the call is through a reference or pointer, then the compiler generates code to determine which version to run based on the dynamic type of the object.

    youdao

  • 通过指针调用虚函数技术也是一样的。

    When you invoke calls through a pointer to the base class, the technique is the same.

    youdao

  • 这个函数允许客户请求对象提供关于自己其它方面的指针这个指针同样指向不同叫做接口)。

    This function allows a client to ask the object for different pointers to itself that also point to different abstract base classes (also known as interfaces).

    youdao

  • 内存开销非常基本上每个接口需要额外4字节对象实例数据函数指针),加上引用计数4个字节。

    Overhead in memory is very small: You basically have a 4- byte overhead per interface (the vtable pointers in the object's instance data) plus 4 bytes for the reference counter.

    youdao

  • 讨论类型语义更改包括继承方法默认构造函数内部指针钉住指针

    Discusses changes to value type semantics, including inherited virtual methods, class default constructors, interior Pointers, and pinning Pointers.

    youdao

  • 讨论类型语义更改包括继承方法默认构造函数内部指针钉住指针

    Discusses changes to value type semantics, including inherited virtual methods, class default constructors, interior Pointers, and pinning Pointers.

    youdao

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

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

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