destructor

美 [dɪ'strʌktə]英 [dɪs'trʌktə]
  • n.〈英〉垃圾焚化炉;破坏器;爆破装置
  • 网络析构函数;解构式;析构器

复数:destructors

destructordestructor

destructor

析构函数

析构函数(destructor) 与构造函数相反,当对象脱离其作用域时(例如对象所在的函数已调用完毕),系统自动执行析构函数。 …

解构式

编程英语常用词汇 - 豆丁网 ... destroy/ 摧毁、销毁 destructor/ 解构式 析构函数 device/ 装置、设备 设备 ...

析构器

析构器(Destructor)中的程序错误(bug)特别难以捕获。析构器将可抛出的所有异常都放入到stderr中,并且被忽略掉。

解构函式

解构函式destructor) 则是用来删除物件,当物件不再使用时,C++ 会自动执行解构函式来删除物件。

破坏者

硬件英语 ... designer 设计员 destructor 破坏者 design specification 设计规范 ...

破坏器

⑤:“破坏器”(Destructor)是“构建器”(Constructor)的反义词。它代表一个特殊的函数,一旦某个对象失去用处,通常就会 …

析构方法

析构方法Destructor)用于实现销毁类的实例所需的操作,并释放实例所占的内存。析构方法的名称为在类名前加上"~"字符。

1
The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do. 继承层次关系的根类应该定义虚函数性质的析构函数,即使这个析构函数不做任何的事情。
2
The programmer has no control over when the destructor is called because this is determined by the garbage collector . 程序员无法控制何时调用析构函数,因为这是由垃圾回收器决定的。
3
If it considers an object eligible for destruction, it calls the destructor (if any) and reclaims the memory used to store the object. 如果垃圾回收器认为某个对象符合析构,则调用析构函数(如果有)并回收用来存储此对象的内存。
4
When the lock object goes out of scope and is destroyed, the object's destructor calls Unlock for you, releasing the resource. 当锁定对象超出范围并被销毁时,该对象的析构函数调用Unlock以释放资源。
5
The destructor is called just before your component is destroyed by garbage collection and its memory is reclaimed. 在垃圾回收销毁组件并回收其内存之前调用析构函数。
6
Similarly, a subclass destructor must call its superclass destructor after it has completed its own resource reclamation. 类似地,子类析构函数在它完成其资源释放之后,也要调用基类的析构函数。
7
The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1. 队列类的构造函数和析构函数负责创建和销毁互斥锁,见清单1。
8
object to release resources and perform other cleanup operations before its destructor is called. 物件在呼叫其解构函式之前,释放资源并执行其他清除作业。
9
A destructor is named in a similar manner, except that it has a ~ (tilde) followed by the parent's name. 析构方法按类似的方式命名,除了它的母体名前有一个~(否定号)。
10
A. A matrix class in which the actual matrix is allocated dynamically within the constructor and is deleted within its destructor. 动态分配,对象的建立是利用构造函数,删除是利用析构函数。
11
A brutal Pit Lord and servant of Mannoroth the Destructor, Magtheridon found his way to Draenor after its cataclysm. 玛瑟里顿是破坏者玛诺罗斯的仆人--一个残忍的深渊领主,玛瑟里顿在灾难之后发现了德拉诺。
12
ConclusionThe CT is the diagnosis fungi the importance means of nasosinusitis, particularly erupt bone substance destructor of diagnosis. 结论CT是诊断真菌性鼻窦炎的重要手段,尤其是并发骨质破坏者的诊断。
13
To release resources and perform other clean-up operations before its destructor is called. 在调用其析构函数之前释放资源并执行其他清理操作。
14
Also enable the Named Return Value optimization , which eliminates the copy constructor and destructor of a stack based return value . 也支持命名返回值优化,它消除了基于堆栈的返回值的复制构造函数和析构函数。
15
Og also enables the Named Return Value optimization, which eliminates the copy constructor and destructor of a stack based return value. Og还会启用命名的返回值优化,此优化可消除基于堆栈的返回值的复制构造函数和析构函数。
16
To see what happens when a Cardgame object is destroyed, view the destructor for the Cardgame class. 若要明白在Cardgame对象销毁时会发生什么,请查看Cardgame类的析构函数。
17
The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions. 换一种说法就是永远都不要为那些其构造函数和析构函数可能抛出异常的类定义全局(静态全局)实例。
18
Local handles are held on a stack and are deleted when the appropriate destructor is called. 本地句柄。本地句柄在栈上,并且当指定的析构函数被调用时删除。
19
When the handle scope's destructor is called all handles created within that scope are removed from the stack. 当句柄范围的析构函数被调用时,所有在那个范围中创建的句柄都将被从栈中移除。
20
First, the destructor of the object that's being deleted is called. 首先,调用将要被删除的对象的析构函数。
21
This destructor would have to be called specifically before unsetting the parent class reference. 这种解构器必须在解除父类引用之前进行调用。
22
CONSTRUCTOR AND DESTRUCTOR Let's discuss the implementation of the thumbnail class, starting with the constructor and destructor. 让我们从构造函数和析构函数开始来讨论略缩图类的实现。
23
A return type should not be set for a UML operation representing either a constructor or a destructor. 不应该为表示构造方法或析构方法的UML操作设置返回类型。
24
This destructor is what our Managed Extensions user programs invoke either directly or through an application of the delete expression. 托管扩展用户程序将直接调用此析构函数,或通过应用delete表达式进行调用。
25
If the BIO is embedded in a class, this would be used in the class' destructor. 如果将BIO嵌入于一个类中,那么应该在类的析构函数中使用这个调用。
26
You tried to modify a method, property, indexer, operator, constructor, destructor, or event containing a stackalloc operator. 您试图修改包含stackalloc运算符的方法、属性、索引器、运算符、构造函数、析构函数或事件。
27
Destructors for local objects are run; resources allocated by class-type objects ordinarily are freed by their destructor. 运行局部对象的析构函数,由类类型对象分配的资源通常由它们的析构函数释放。
28
This section discusses modeling the constructor, destructor, and copy constructor for a C++ class. 这个部分讨论了为一个C++类建模构造函数,分析构造函数,以及拷贝构造函数。
29
Hook's destructor checks if the hook is in the well-known default state. If not, an assertion is raised. 钩子的析构函数检查钩子是否处于缺省状态。如否,则引发断言。
30
If an exception occurs, the destructor cannot be called. 如果发生了例外状况,解构函式无法被呼叫。