go top

类指针

网络释义

  pointer-like

它使得客户端能够很容易地直接访问dumb指针,绕过“类指针(pointer-like)”对象所提供的“智能”特性。

基于48个网页-相关网页

  Class Reference

... 类(Class) 类指针(Class Reference) 界面(Interface) ...

基于24个网页-相关网页

  class pointer

基于对象的编程风格 4.1 如何实现一个class 1 前置声明使我们得以进行类指针(class pointer)的定义,或以此class作为数据类型. 2 private members 只能在member function或是class friend内被取用.

基于12个网页-相关网页

短语

分类指针 [计] sorting needle

类指针压缩空间 Compressed Class Pointer Space

指针类型 pointer type

指针的类型 The Type of a Pointer

需要指针类型 Pointer type required

类的指针 Pointers to classes

类型对象指针 type object pointer

数据类型的指针 pointer to data type

转变成无类型指针 untyped pointer

 更多收起网络短语

有道翻译

类指针

Class pointer

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

双语例句原声例句

  • 如果我有一个对象的指针,转换到它的基类指针对象上,我能通过基类指针调用合适的成员函数。

    If I have a pointer to an object cast to one of its base classes, I can call the correct member functions through the abstract base class.

    youdao

  • 对于类对象包含指针的情况下,我们要编写自己的拷贝构造函数,这样可以防止上述情况的发生。

    For a situation where an object contain Pointers we have to write our own copy constructor that will prevent situations like those mentioned above.

    youdao

  • 与可怕的空指针异常(该异常除了报告空指针之外,对于将要发生的事情什么也不说)不同,类强制转换异常相对来说容易调试。

    Unlike the dreaded null-pointer exception (which says nothing about what was expected to occur instead of the null pointer), a class-cast exception is relatively easy to debug.

    youdao

更多双语例句
  • Once I've got that, I can now start giving some variable names, sorry not, rephrase that, I can give some attributes, I can give some characteristics to these classes.

    还有个指向内存中地址的指针,我还可以命名这个指针,因此cp1和cp2都是,指向它们的指针,一旦我创建了它类,我就可以开始赋予。

    麻省理工公开课 - 计算机科学及编程导论课程节选

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

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

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