• 管理造函数析构函数中的异常

    Managing exceptions in constructors and destructors

    youdao

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

    Should the exception in the destructor be ignored?

    youdao

  • 展开期间经常执行函数。

    Destructors are often executed during stack unwinding.

    youdao

  • 程序退出调用函数。

    Destructors are also called when the program exits.

    youdao

  • 因为没有一个析构函数

    Because it does not have a destructor.

    youdao

  • 一个析构函数对象超出作用域称为

    Is a destructor called when an object goes out of scope?

    youdao

  • 另外析构函数也不仅仅用来释放资源

    A destructor is not limited only to relinquishing resources.

    youdao

  • 无法继承重载析构函数

    Destructors cannot be inherited or overloaded.

    youdao

  • 只能使用析构函数。

    They are only used with classes.

    youdao

  • 使用析构函数

    Empty destructors should not be used.

    youdao

  • 如果存在函数,则重写终结器

    If a destructor is present, rewrite that to be the class finalizer.

    youdao

  • 允许定义一个函数对像崩溃的时候运行

    Allows defining a destructor function that runs when an object is destroyed.

    youdao

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

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

    youdao

  • 如果容器保存对象,则容器析构的时候会自动清理这些对象。

    If the container stores objects, then it is automatically cleaned up during container destruction.

    youdao

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

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

    youdao

  • 对于实现函数释放非内存资源对象来说,最常见问题

    This is mostly a problem with objects that implement a destructor to free non-memory resources.

    youdao

  • 析构函数不同,造函数内部所做事情经常抛出异常

    Unlike destructors, it is often the case that something done inside a constructor might throw an exception.

    youdao

  • 没有注意是,对象函数调用后引起很大麻烦

    No pay attention to this, the situation in which only the object destructor is called can make great deal of troubles.

    youdao

  • 尽管调用函数,但是调用数组各个对象造函数

    The constructors for the individual objects in the array are not invoked, although the destructors are.

    youdao

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

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

    youdao

  • 接口不能包含常量字段运算符实例造函数函数类型

    An interface cannot contain constants, fields, operators, instance constructors, destructors, or types.

    youdao

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

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

    youdao

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

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

    youdao

  • 假设他们简单地调用析构函数然后释放内存(对于整个派生类)。

    I would assume they would simply call the base-class destructor, then deallocate the memory (for the entire derived class).

    youdao

  • 假设他们简单地调用析构函数然后释放内存(对于整个派生类)。

    I would assume they would simply call the base-class destructor, then deallocate the memory (for the entire derived class).

    youdao

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

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

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