Destructors provide appropriate safeguards, such as automatically calling the base type's destructor.
析構函數提供了適當的保護措施, 如自動調用基類型的析構函數.
互聯網
We can directly call an object's destructor to destroy the object.
可以直接調用對象的析構函數來撤銷對象.
互聯網
To call a destructor, you must reference instance 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.
基類幾乎總是需要構造函數,從而可以將析構函數設為虛函數.
互聯網
When implementing a constructor or destructor in assembler, be sure to preserve the DL register.
當在內嵌匯編程序中實現構造器或析構器時, 應確認保持DL寄存器.
互聯網
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.
在類的析構函數中我們將打印計數器變量的最終值.
互聯網
Copyright ? mingxiaow.com All Rights Reserved. 杭州優配網絡科技有限公司 版權所有 未經書面允許不得轉載、復制信息內容、建立鏡像
本網站內容僅供參考,請以各學校實際情況為主!內容侵權或錯誤投訴:841539661@qq.com 工信部備案號:浙ICP備20019715號