查询
1 词典释义:
destructor
时间: 2026-01-02 12:06:34
英 [dɪˈstrʌktə]

n.垃圾焚化炉;(导弹、火箭的)自毁装置;

双语例句
  • Because it does not have a destructor .

    因为它没有一个析构函数。

  • We also need to add a destructor to the class.

    我们还需要添加一个析构函数的类。

  • A call is made to a destructor of incorrect type.

    对错误类型的析构函数进行了调用。

  • A destructor is called using an incorrect identifier.

    使用错误的标识符调用析构函数.

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

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

  • A base class almost always needs a destructor so that it can make the destructor virtual.

    基类几乎总是需要构造函数,从而可以将析构函数设为虚函数.

  • Once a destructor is invoked for an object, the object no longer exists;

    另外,对于第一句话,你难道不可以理解为是自动调用?

  • In the class destructor we will print out the final value of the counter.

    在类的析构函数中我们将打印计数器变量的最终值.

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

    允许定义一个析构函数当对象崩溃的时候运行.

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

    允许定义一个析构函数当对像崩溃的时候运行.

近义词
n. 破坏者;垃圾焚毁炉;爆炸装置