destructor
destructor什么意思,destructor翻译
基本解释
n.: 〈英〉垃圾焚化炉;破坏器;爆破装置
网络: 析构函数;解构式;析构器
英汉解释
垃圾焚烧炉
信管
废料焚火炉
自毁器
废物焚化炉
废料焚化器供焚化放射性废料用
破坏者
破坏器;爆破装置
〔英国〕垃圾焚化炉
词性分析
复数:destructors
例句
The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do.
继承层次关系的根类应该定义虚函数性质的析构函数,即使这个析构函数不做任何的事情。
The programmer has no control over when the destructor is called because this is determined by the garbage collector .
程序员无法控制何时调用析构函数,因为这是由垃圾回收器决定的。
If it considers an object eligible for destruction, it calls the destructor (if any) and reclaims the memory used to store the object.
如果垃圾回收器认为某个对象符合析构,则调用析构函数(如果有)并回收用来存储此对象的内存。
When the lock object goes out of scope and is destroyed, the object"s destructor calls Unlock for you, releasing the resource.
当锁定对象超出范围并被销毁时,该对象的析构函数调用Unlock以释放资源。
The destructor is called just before your component is destroyed by garbage collection and its memory is reclaimed.
在垃圾回收销毁组件并回收其内存之前调用析构函数。
Similarly, a subclass destructor must call its superclass destructor after it has completed its own resource reclamation.
类似地,子类析构函数在它完成其资源释放之后,也要调用基类的析构函数。
The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1.
队列类的构造函数和析构函数负责创建和销毁互斥锁,见清单1。
object to release resources and perform other cleanup operations before its destructor is called.
物件在呼叫其解构函式之前,释放资源并执行其他清除作业。
A destructor is named in a similar manner, except that it has a ~ (tilde) followed by the parent"s name.
析构方法按类似的方式命名,除了它的母体名前有一个~(否定号)。
A. A matrix class in which the actual matrix is allocated dynamically within the constructor and is deleted within its destructor.
动态分配,对象的建立是利用构造函数,删除是利用析构函数。