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.───類似地,子類析構函數在它完成其資源釋放之后,也要調用基類的析構函數。