• Should the exception in the destructor be ignored?

    应该忽略析构函数中的异常吗?

    youdao

  • It is possible for the destructor to throw an exception.

    可能析构函数抛出一个异常

    youdao

  • If an exception occurs, the destructor cannot be called.

    如果出现异常,无法调用析构函数。

    youdao

  • First, the destructor of the object that's being deleted is called.

    首先调用将要删除对象的析构函数。

    youdao

  • If the destructor is empty, this simply results in a loss of performance.

    如果析构函数只会导致性能降低

    youdao

  • In Listing 24, the constructor of F is called before F2; likewise for the destructor.

    清单24 中,调用F构造函数,然后F2 的;对于销毁函数也是这样。

    youdao

  • When the destructor is called, the garbage collector is invoked to process the queue.

    调用析构函数,将调用垃圾回收处理该队列。

    youdao

  • The programmer has no control over when the destructor is called because this is determined by the garbage collector.

    程序员无法控制何时调用析构函数,因为垃圾回收器决定的。

    youdao

  • The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do.

    继承层次关系应该定义函数性质构函数,即使这个析构函数任何的事情。

    youdao

  • Put the functionality you need in separate functions called by the destructor and the copy constructor and the assignment operator.

    放在单独功能调用析构函数拷贝构造函数运算符需要的功能。

    youdao

  • If it considers an object eligible for destruction, it calls the destructor (if any) and reclaims the memory used to store the object.

    如果物件视为符合解构资格,便会呼叫解构函式(如果存在),并且回收用来储存物件记忆体。

    youdao

  • The constructor function is invoked immediately prior to main being called; and the destructor function is called when your application exits.

    constructor函数调用main函数之前调用的,destructor 函数则是在应用程序退出时调用的。

    youdao

  • To manage a class with pointer members, we must define all three copy-control members: the copy constructor, assignment operator, and the destructor.

    为了管理具有指针成员必须定义三个复制控制成员:复制构造函数赋值操作符构函数。

    youdao

  • Calling upon the malefic pit lords and their barbarous leader, Mannoroth the Destructor, Archimonde hoped to establish a fighting elite that would scour creation of all life.

    他号令罪恶深渊领主他们野蛮首领毁灭者玛诺洛斯·阿克·希望建立起能够摧毁一切生命杰出力量。

    youdao

  • Delay assembly was used to replace the delay disk, and the delay precision of the destructor was improved accordingly. More applications of the delay assembly in fuse were introduced.

    延期组合件代替时间药提高了自机构延期精度引信中得到更多应用

    youdao

  • In the constructor function, a new trace file is opened into which the profiling address trace will be written; within the destructor function, the trace file is closed (see Listing 3).

    constructor函数中,会打开一个新的跟踪文件分析数据的地址跟踪就是写入这个文件的;在destructor函数,会关闭这个跟踪文件(参见清单3)。

    youdao

  • Destructors cannot have parameters, they cannot have accessibility modifiers, and they cannot be invoked explicitly. The destructor for an instance is invoked automatically during garbage collection.

    构函数不能参数,不能有访问级别修饰符,不能被式调用。实例构函数垃圾收集时自动调用

    youdao

  • The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.

    一种说法就是永远都不要为那些其构造函数析构函数可能抛出异常定义全局(静态全局)实例

    youdao

  • The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1.

    队列构造函数析构函数负责创建销毁互斥锁清单1。

    youdao

  • When the handle scope's destructor is called all handles created within that scope are removed from the stack.

    范围构函数被调用时,所有那个范围中创建的句都将被移除

    youdao

  • Figure 1 shows a constructor with two arguments of type Point and a destructor modeled for the DrawingSurface class of the sample application used here for illustration purposes.

    1展示示例应用程序(在这里用于举例)drawingsurface建模带有两个Point类型参数构造方法一个析构方法

    youdao

  • There are a few user space solutions to this problem, such as creating a destructor for the parent class that will release the child object directly.

    一些用户空间解决方案可以解决这个问题例如创建解构函数直接释放对象

    youdao

  • One key driving force behind bee destruction in Europe and North America has been a type of mite, the varroa destructor pest, which attacks bees and that beekeepers struggle to control, Neumann said.

    欧洲北美蜜蜂面临的毁灭背后关键性驱动力一种叫做瓦小虫它们蜜蜂发起进攻养蜂人则极力控制它们,诺依曼说。

    youdao

  • A destructor is named in a similar manner, except that it has a ~ (tilde) followed by the parent's name.

    构方法类似的方式命名除了母体名前一个~(否定号)。

    youdao

  • This destructor would have to be called specifically before unsetting the parent class reference.

    这种解构器必须在解除引用之前进行调用

    youdao

  • The constructor and destructor methods of this object do the necessary setup and cleanup.

    这个对象constructordestructor方法执行必需设置清除工作

    youdao

  • To create your constructor and destructor, declare two functions, then apply the constructor and destructor function attributes to them.

    创建constructordestructor函数,则需要声明函数然后两个函数应用constructor和destructor函数属性

    youdao

  • This may cause the reference count for the object previously bound to the name to reach zero, causing the object to be deallocated and its destructor (if it has one) to be called.

    可能导致早先约束名字对象引用计数降为导致释放该对象的分配空间调用析构器,如果有一个的话。

    youdao

  • This may cause the reference count for the object previously bound to the name to reach zero, causing the object to be deallocated and its destructor (if it has one) to be called.

    可能导致早先约束名字对象引用计数降为导致释放该对象的分配空间调用析构器,如果有一个的话。

    youdao

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

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

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