destructor信息详情

destructor发音

意思翻译

n.垃圾焚毁炉;爆炸装置

相似词语短语

destructors───n.垃圾焚毁炉;爆炸装置

destructo───n.终结者

destructos───破坏

destruction───n.破坏,毁灭;摧毁

destruct───v.(审慎地)毁坏(某物,尤指火箭或导弹);为安全而自毁(导弹或火箭);n.(故意的)毁坏;自毁;adj.为可自毁而设计的

destructed───被自毁的;破坏(destruct的过去式和过去分词)

destructs───v.(审慎地)毁坏(某物,尤指火箭或导弹);为安全而自毁(导弹或火箭);n.(故意的)毁坏;自毁;adj.为可自毁而设计的

detractor───n.贬低者;诽谤者

distractor───n.错误选择;诱导答案

双语使用场景

The constructor and destructor methods of this object do the necessary setup and cleanup.───这个对象的constructor和destructor方法执行必需的设置和清除工作。

Modeling constructor, destructor, and copy constructor.───建模构造函数、分析构造函数,以及拷贝构造函数。

In Listing 24, the constructor of F is called before F2; likewise for the destructor.───在 清单 24 中,先调用 F 的构造函数,然后是 F2 的;对于销毁函数也是这样。

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.───类似地,子类析构函数在它完成其资源释放之后,也要调用基类的析构函数。

英语使用场景