• Because it does not have a destructor.

    因为没有一个析构函数

    youdao

  • Should the exception in the destructor be ignored?

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

    youdao

  • Modeling constructor, destructor, and copy constructor.

    建模构造函数、分析构造函数,以及拷贝构造函数。

    youdao

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

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

    youdao

  • A destructor does not take modifiers or have parameters.

    构函数既没有修饰符,没有参数

    youdao

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

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

    youdao

  • A destructor is not limited only to relinquishing resources.

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

    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

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • A struct may not declare a default constructor (a constructor without parameters) or a destructor.

    结构不能声明默认构造函数(没有参数的构造函数)构函数。

    youdao

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

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

    youdao

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

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

    youdao

  • A client block is a special type of memory block used by MFC programs for objects that require a destructor.

    客户端MF c程序用于需要析构函数对象特殊类型内存

    youdao

  • If a class defines a copy constructor, acopy assignment operator, or a destructor, then it should define all three.

    假定界讲拷贝机闭函数值操纵构函数中的一个,那么一样平常需供齐数界讲那函数。

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    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

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

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

    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

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

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

    youdao

  • Notice, however, that you do not need to provide a destructor explicitly in this case: the compiler will generate one implicitly for you.

    注意然而需要提供构函数这种情况下明确:编译生成式你。

    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

  • 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

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

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

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