virtual destructor 中文意思是什麼

virtual destructor 解釋
虛擬解構函式
  • virtual : adj. 1. 實際上的,實質上的,事實上的。2. 【物理學】虛像的。3. 【物理學】有效的;【計算機】(網上)虛擬的。4. 〈古語〉具有可產生某種效果之內在力的。
  • destructor : n. 1. 〈英國〉垃圾焚化爐。2. 破壞器;爆破裝置。
  1. Specifies whether the class destructor is virtual

    指定類析構函數是否是虛的。
  2. Is necessary is when the only virtual function in your virtual base is a destructor

    的情況是虛擬基中的唯一虛函數是析構函數。
  3. In the second step, the compiler synthesizes a virtual destructor

    在第二個步驟中,編譯器合成了一個虛擬析構函數。
  4. Using virtual destructors helps ensure that the correct destructor is called when instances of derived classes are deleted

    使用虛析構函數幫助確保當刪除導出類的實例時調用正確的析構函數。
分享友人