destructor

英[d?s\'tr?kt?]
美[d?\'str?kt?]

基本釋義

n.
破壞者,垃圾焚毀爐,爆炸裝置

實用例句

Destructors provide appropriate safeguards, such as automatically calling the base type's destructor.

析構(gòu)函數(shù)提供了適當?shù)谋Wo措施, 如自動調(diào)用基類型的析構(gòu)函數(shù).

互聯(lián)網(wǎng)

We can directly call an object's destructor to destroy the object.

可以直接調(diào)用對象的析構(gòu)函數(shù)來撤銷對象.

互聯(lián)網(wǎng)

To call a destructor, you must reference instance object.

要調(diào)用析構(gòu)器, 必需引用實例對象.

互聯(lián)網(wǎng)

A destructor is called using an incorrect identifier.

使用錯誤的標識符調(diào)用析構(gòu)函數(shù).

互聯(lián)網(wǎng)

The synthesized destructor is run after the class - defined destructor, if there is one, completes.

如果類定義了析構(gòu)函數(shù), 則在類定義的析構(gòu)函數(shù)結(jié)束之后運行合成析構(gòu)函數(shù).

互聯(lián)網(wǎng)

Special member functions the copy constructor, the assignment operator, and the destructor define these operations.

特殊成員函數(shù)(復(fù)制構(gòu)造函數(shù) 、 賦值操作符和析構(gòu)函數(shù))可用于定義這些操作.

互聯(lián)網(wǎng)

A base class almost always needs a destructor so that it can make the destructor virtual.

基類幾乎總是需要構(gòu)造函數(shù),從而可以將析構(gòu)函數(shù)設(shè)為虛函數(shù).

互聯(lián)網(wǎng)

When implementing a constructor or destructor in assembler, be sure to preserve the DL register.

當在內(nèi)嵌匯編程序中實現(xiàn)構(gòu)造器或析構(gòu)器時, 應(yīng)確認保持DL寄存器.

互聯(lián)網(wǎng)

In both cases, while a constructor or destructor is running, the object is incomplete.

在這兩種情況下, 運行構(gòu)造函數(shù)或析構(gòu)函數(shù)的時候, 對象都是不完整的.

互聯(lián)網(wǎng)

In the class destructor we will print out the final value of the counter.

在類的析構(gòu)函數(shù)中我們將打印計數(shù)器變量的最終值.

互聯(lián)網(wǎng)

最新英語單詞

行業(yè)英語