destructor

destructor

美 [dɪ'strʌktə]  英 [dɪs'trʌktə]

  • n.〈英〉垃圾焚化炉;破坏器;爆破装置
  • 网络析构函数;解构式;析构器

词形变化

复数:destructors  

英汉解释

n.
1.
〈英〉垃圾焚化炉
2.
破坏器;爆破装置

英英解释

n.

例句

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.

类似函数完成资源释放之后调用函数

The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1.

队列构造函数函数负责创建销毁互斥清单1。

object to release resources and perform other cleanup operations before its destructor is called.

物件呼叫之前释放资源执行其他清除作业

A destructor is named in a similar manner, except that it has a ~ (tilde) followed by the parent's name.

方法类似方式命名除了母体一个~(否定)。

A. A matrix class in which the actual matrix is allocated dynamically within the constructor and is deleted within its destructor.

动态分配对象建立利用构造函数删除利用函数

A brutal Pit Lord and servant of Mannoroth the Destructor, Magtheridon found his way to Draenor after its cataclysm.

玛瑟里顿破坏玛诺罗斯仆人--残忍深渊领主玛瑟里顿灾难之后发现德拉诺

ConclusionThe CT is the diagnosis fungi the importance means of nasosinusitis, particularly erupt bone substance destructor of diagnosis.

结论CT诊断真菌鼻窦炎重要手段尤其是并发骨质破坏诊断

To release resources and perform other clean-up operations before its destructor is called.

调用函数之前释放资源执行其他清理操作

Also enable the Named Return Value optimization , which eliminates the copy constructor and destructor of a stack based return value .

支持命名返回优化消除基于堆栈返回复制构造函数函数

Og also enables the Named Return Value optimization, which eliminates the copy constructor and destructor of a stack based return value.

Og启用命名返回优化优化消除基于堆栈返回复制构造函数函数

To see what happens when a Cardgame object is destroyed, view the destructor for the Cardgame class.

若要明白Cardgame对象销毁发生什么查看Cardgame函数

The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.

一种说法就是永远不要那些其构造函数函数可能抛出异常定义全局静态全局实例

Local handles are held on a stack and are deleted when the appropriate destructor is called.

本地本地栈上并且指定函数用时删除

When the handle scope's destructor is called all handles created within that scope are removed from the stack.

范围函数调用所有那个范围创建移除

First, the destructor of the object that's being deleted is called.

首先调用将要删除对象函数

This destructor would have to be called specifically before unsetting the parent class reference.

这种必须解除引用之前进行调用

CONSTRUCTOR AND DESTRUCTOR Let's discuss the implementation of the thumbnail class, starting with the constructor and destructor.

我们构造函数函数开始讨论实现

A return type should not be set for a UML operation representing either a constructor or a destructor.

应该表示构造方法方法UML操作设置返回类型

This destructor is what our Managed Extensions user programs invoke either directly or through an application of the delete expression.

托管扩展用户程序直接调用函数通过应用delete表达式进行调用

If the BIO is embedded in a class, this would be used in the class' destructor.

如果BIO嵌入一个那么应该函数使用这个调用

You tried to modify a method, property, indexer, operator, constructor, destructor, or event containing a stackalloc operator.

试图修改包含stackalloc运算符方法属性索引器运算符构造函数函数事件

Destructors for local objects are run; resources allocated by class-type objects ordinarily are freed by their destructor.

运行局部对象函数类型对象分配资源通常它们函数释放

This section discusses modeling the constructor, destructor, and copy constructor for a C++ class.

这个部分讨论一个C++建模构造函数分析构造函数以及拷贝构造函数

Hook's destructor checks if the hook is in the well-known default state. If not, an assertion is raised.

钩子函数检查钩子是否处于缺省状态引发断言

If an exception occurs, the destructor cannot be called.

如果发生例外状况无法呼叫

In Listing 24, the constructor of F is called before F2; likewise for the destructor.

清单24调用F构造函数然后F2对于销毁函数也是这样

Secondly, within the class destructor, we release the resource acquired when the object was created.

其次函数释放创建对象获得资源

When the destructor is called, the garbage collector is invoked to process the queue.

调用函数调用垃圾回收处理队列

Object. By implementing a destructor you can perform cleanup just before your component is removed from memory.

通过实现函数可以组件内存执行清除操作

Is the object destructor, but it should not be used unless you really, really need it.

对象但是除非确实非常非常需要否则应该使用

The resource-managing class should be designed so that the constructor acquires the resource and the destructor frees it.

应该设计资源管理以便构造函数分配资源函数释放资源

Specifies whether the class destructor is virtual.

指定函数是否

However, in the sand and glycerol, all populations of Ditylenchus destructor could not survive at low temperature.

试验发现细沙不同甘油浓度条件所有线虫群体低温处理

A client block is a special type of memory block used by MFC programs for objects that require a destructor.

客户端MFC程序用于需要函数对象特殊类型内存

When a class contains a destructor, an entry is created in the Finalize queue.

如果包含函数Finalize队列创建一个

热门查询