网站首页  词典首页

请输入您要查询的英文单词:

 

单词 destructor
释义
destructors是destructor的复数

destructor

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

例句

释义:
1.
Unlike destructors , it is often the case that something done inside a constructor might throw an exception.
与析构函数不同,构造函数内部所做的事情经常会抛出异常。
dictsearch.appspot.com
2.
Destructors are methods that are called by the runtime execution engine when the object is about to be removed from memory .
析构函数是当对象即将从内存中移除时由运行库执行引擎调用的方法。
www.bing.com
3.
The bottom line is that gratuitously declaring all destructors virtual is just as wrong as never declaring them virtual.
基本的一条是无故的声明虚销毁函数同从来不声明为虚销毁函数一样错误。
dictsearch.appspot.com
4.
Classes that serve as base classes in a multiple-inheritance hierarchy ordinarily should define their destructors to be virtual.
在多重继承层次中作为基类的类通常应该将它们的析构函数数定义为虚函数。
dictsearch.appspot.com
5.
Constructors called in the order of base-to-derived. However, the execution of destructors cannot be controlled by the programmer.
构造函数以基类到派生类的顺序被调用。但是,析造函数不受程序员的控制。
www.worlduc.com
6.
Modifier can be used with classes, fields, methods, properties, and events, but cannot be used with destructors or types other than classes.
修饰符可与类、字段、方法、属性和事件一起使用,但不能与析构函数或除类之外的类型一起使用。
msdn2.microsoft.com
7.
The fact that destructors are run leads to an important programming technique that makes programs more exception safe .
对析构函数的运行导致一个重要的编程技术的出现,它使程序更为异常安全的。
dictsearch.appspot.com
8.
Therefore, calls to these constructors and destructors must be performed by the run-time code.
因此,必须由运行时代码执行对这些构造函数和析构函数的调用。
technet.microsoft.com
9.
Add the methods, properties, fields, events, constructors (method), destructors (method), and constants that define the structure.
添加定义结构的方法、属性、字段、事件、构造函数(方法)、析构函数(方法)和常量。
technet.microsoft.com
10.
An interface cannot contain constants, fields, operators, instance constructors, destructors, or types.
接口不能包含常量、字段、运算符、实例构造函数、析构函数)或类型。
technet.microsoft.com
1.
Interfaces have no constructors or destructors.
接口没有构造器和析构器。
dictsearch.appspot.com
2.
Destructors cannot be inherited or overloaded.
无法继承或重载析构函数。
technet.microsoft.com
3.
Destructors cannot be defined instructs.
不能在结构中定义析构函数。
technet.microsoft.com
4.
Destructors are often executed during stack unwinding .
栈展开期间会经常执行析构函数。
dictsearch.appspot.com
5.
Destructors for local objects are run; resources allocated by class-type objects ordinarily are freed by their destructor.
运行局部对象的析构函数,由类类型对象分配的资源通常由它们的析构函数释放。
dictsearch.appspot.com
6.
All the windows are automatically unregistered in their destructors.
所有窗口自动在它们的析构函数中去注册。
boost-doc-zh.googlecode.com
7.
Under a garbage collected environment, destructors to free memory are unnecessary.
在垃圾回收的环境下,不需要通过析构函数释放内存。
msdn2.microsoft.com
8.
Sometimes we need some destructors release the bad mood. No matter how, by myself is a very important thing.
有时我们需要释放一些不好的心情,不管怎样,一个人独处是很重要的一件事。
wenwen.soso.com
9.
The constructors for the individual objects in the array are not invoked, although the destructors are.
尽管调用了析构函数,但是未调用数组中各个对象的构造函数。
msdn2.microsoft.com
10.
During stack unwinding, the memory used by local objects is freed and destructors for local objects of class type are run.
栈展开期间,释放局部对象所用的内存并运行类类型局部对象的析构函数。
dictsearch.appspot.com
1.
Avoid calling virtual functions in constructors and destructors.
避免在构造函数和析构函数中调用虚拟函数。
spaces.msn.com
2.
To resolve this, ensure that destructors called from Release methods only contain native code.
若要解决此问题,请确保从Release方法调用的析构函数仅包含本机代码。
msdn2.microsoft.com
3.
Part 2 of this series explains modeling C# indexers, properties, constructors, destructors, and operators.
本系列的第2部分将介绍C#指示器、属性、构造方法、析构方法,和操作符的建模。
www.ibm.com
4.
Destructors are used to destruct instances of classes.
析构函数用于析构类的实例。
technet.microsoft.com
5.
Choose this option only if you are certain that all class constructors and destructors call virtual functions virtually.
仅在确定所有的类构造函数和析构函数实际调用虚函数时选择此选项。
msdn2.microsoft.com
6.
You should not use structured exception handling in functions that use objects with destructors.
您不应该在函式(使用有解构函式的物件)之中使用结构化的例外处理。
msdn.microsoft.com
7.
This was safe in our example above, because we required that T destructors never throw.
上面给出的我们的例子是安全的,因为我们要求T的析构函数决不会抛出异常。
dictsearch.appspot.com
8.
Thus, the assertions can be used safely in destructors, too.
因此,也可以在析构函数中安全地使用断言。
www.ibm.com
9.
Finally, it's worth mentioning that it can be convenient to declare pure virtual destructors in some classes.
最后,值得提到的是在一些类中声明纯虚销毁函数是很方便的。
dictsearch.appspot.com
10.
Empty destructors should not be used.
不应使用空析构函数。
technet.microsoft.com
1.
Destructors are also called when the program exits.
程序退出时也会调用析构函数。
msdn2.microsoft.com
2.
Item 14: Make sure base classes have virtual destructors .
确保基类有虚销毁函数。
dictsearch.appspot.com
3.
Methods or destructors can have a negative impact on performance and you should avoid using them unnecessarily.
方法或析构函数对性能可能会有负面影响,因此应避免不必要地使用它们。
msdn2.microsoft.com
4.
Destructors for base classes are an important exception to the Rule of Three ( Section 13. 3, p. 485).
基类析构函数是三法则(第13.3节)的一个重要例外。
dictsearch.appspot.com
5.
When destructors are executing, the exception has been raised but not yet handled.
在执行析构函数的时候,已经引发了异常但还没有处理它。
dictsearch.appspot.com
6.
Using pool interfaces, you can choose to run their destructors or just drop them off into oblivion;
使用内存池接口,你可以选择运行它们的析构函数,或者只是丢弃它们;
boost-doc-zh.googlecode.com
7.
Managing exceptions in constructors and destructors
管理构造函数和析构函数中的异常
www.ibm.com
8.
Modeling constructors and destructors
对构造方法和析构方法建模
www.ibm.com
9.
It might result in leaks for classes with destructors that perform memory de-allocation;
如果类中包含执行内存释放操作的析构函数,此缺陷可能导致泄漏;
technet.microsoft.com
10.
Using Destructors to Release Resources
使用析构函数释放资源
msdn2.microsoft.com
随便看

 

英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/3/10 5:04:56