- 简明词典
- 柯林斯词典
- AI释义
- AI解词
- 牛津词典
析构函数
释义
- destructor 破坏者,垃圾焚毁炉,爆炸装置;
- destructor
实用场景例句
- 全部
All the windows are automatically unregistered in their destructors.
所有窗口自动在它们的析构函数中去注册.
互联网
Destructors provide appropriate safeguards, such as automatically calling the base type's destructor.
析构函数提供了适当的保护措施, 如自动调用基类型的析构函数.
互联网
Destructors are the C # mechanism for performing cleanup operations.
析构函数是执行清理操作的C # 机制.
互联网
We can directly call an object's destructor to destroy the object.
可以直接调用对象的析构函数来撤销对象.
互联网
A destructor is called using an incorrect identifier.
使用错误的标识符调用析构函数.
互联网
The synthesized destructor is run after the class - defined destructor, if there is one, completes.
如果类定义了析构函数, 则在类定义的析构函数结束之后运行合成析构函数.
互联网
Special member functions the copy constructor, the assignment operator, and the destructor define these operations.
特殊成员函数(复制构造函数 、 赋值操作符和析构函数)可用于定义这些操作.
互联网
A base class almost always needs a destructor so that it can make the destructor virtual.
基类几乎总是需要构造函数,从而可以将析构函数设为虚函数.
互联网
In both cases, while a constructor or destructor is running, the object is incomplete.
在这两种情况下, 运行构造函数或析构函数的时候, 对象都是不完整的.
互联网
In the class destructor we will print out the final value of the counter.
在类的析构函数中我们将打印计数器变量的最终值.
互联网
This was safe in our example above, because we required that T destructors never throw.
上面给出的我们的例子是安全的, 因为我们要求T的析构函数决不会抛出异常.
互联网
收起实用场景例句
- 释义
- 实用场景例句