destructor
n. 垃圾焚毁炉;爆炸装置
2026-05-06 01:27 浏览次数 17
n. 垃圾焚毁炉;爆炸装置
1. a furnace or oven for the burning of refuse incinerator
2. a device for destroying a missile or a part thereof at a desired time in its flight
3. an explosive device for enabling quick destruction of matériel to prevent its falling into the hands of the enemy
Aspidiotus destructor茶椰圆蚧
Time Destructor时间破坏器
destructor room垃圾焚化间
destructor plant垃圾处理厂
safety destructor[安全]
destructor Destroy析构函数
default destructor析构函数
Peronospora destructor fungus causing a downy mildew on onions
同义词: onion mildew
disruptor破坏者,分裂者
destructor r废料焚化炉
ravager破坏者;蹂躏者;劫掠者
there are a few user space solutions to this problem, such as creating a destructor for the parent class that will release the child object directly.
有一些用户空间解决方案可以解决这个问题。例如为父类创建一个解构函数将直接释放子对象。
hence, ansi c++ does not recommend throwing exceptions in the constructor and destructor of a class whose instances may be defined globally (static-globally).
因此,ansi c++不建议在那些其实例可能被定义为全局实例(静态全局实例)的类的构造函数和析构函数中抛出异常。
a destructor is named in a similar manner, except that it has a ~ (tilde) followed by the parent「s name.
析构方法按类似的方式命名,除了它的母体名前有一个 ~(否定号)。
figure 1 shows a constructor with two arguments of type point and a destructor modeled for the drawingsurface class of the sample application used here for illustration purposes.
图1展示了为示例应用程序(在这里用于举例)的drawingsurface类建模的带有两个point类型参数的构造方法和一个析构方法。
this destructor would have to be called specifically before unsetting the parent class reference.
这种解构器必须在解除父类引用之前进行调用。
this is mostly a problem with objects that implement a destructor to free non-memory resources.
对于实现了析构函数释放非内存资源的对象来说,这是最常见的问题。
so, different from the first example, we need to implement a destructor .
因此,从第一个例子不同,我们需要实现一个析构函数。
so let me show you how to remove malware destructor 2009, for free.
因此,让我告诉您如何删除恶意软件析构2009年,是免费的。
the constructor function is invoked immediately prior to main being called; and the destructor function is called when your application exits.
constructor函数是在调用main 函数之前调用的,而destructor函数则是在应用程序退出时调用的。
with the stack-based semantics, the destructor is run for mainsock deterministically, but since backupsock has not been created on the stack yet, there is no object to destruct.
对于基于堆栈的语义,会确定性地为mainsock运行析构函数,但由于还没在堆栈中创建backupsock,所以没有对象可以析构。
because it does not have a destructor .
因为它没有一个析构函数。
should the exception in the destructor be ignored?
应该忽略析构函数中的异常吗?
this may cause the reference count for the object previously bound to the name to reach zero, causing the object to be deallocated and its destructor (if it has one) to be called.
这可能导致早先约束到该名字的对象的引用计数降为零,导致释放该对象的分配空间并调用其析构器,如果它有一个的话。
in the constructor function, a new trace file is opened into which the profiling address trace will be written; within the destructor function, the trace file is closed (see listing 3).
在constructor函数中,会打开一个新的跟蹤文件,分析数据的地址跟蹤就是写入这个文件的;在destructor函数中,会关闭这个跟蹤文件(参见清单3)。
the other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.
换一种说法就是永远都不要为那些其构造函数和析构函数可能抛出异常的类定义全局(静态全局)实例。
when the handle scope」s destructor is called all handles created within that scope are removed from the stack.
当句柄范围的析构函数被调用时,所有在那个范围中创建的句柄都将被从栈中移除。
however, if you want exception handling you must do it only in the teardown code because throwing an exception from the destructor results in undefined behavior.
但是,如果需要异常处理,那么只能在teardown代码中进行,因为从析构函数中抛出异常会导致不确定的结果。
the constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in listing 1.
队列类的构造函数和析构函数负责创建和销毁互斥锁,见 清单1。
in the case of the cxyz class, the compiler decided that the default constructor, copy constructor, and the destructor are trivial enough, and optimized them out.
在cxyz类,编译器断定它的默认构造函数,拷贝构造函数和析构函数都毫无意义,经过优化后把它们排除掉了。
like c# methods, a constructor or destructor is also modeled as a uml operation with optional an csharp method>> stereotype for specific modifiers (for example, extern).
像 c#方法一样,构造方法(constructor)和析构方法(destructor)也被建模为uml操作,并且带有针对专门的修饰符(举例来说,extern)的可选择的 csharpmethod>>原型。
the constructor and destructor methods of this object do the necessary setup and cleanup.
这个对象的constructor和destructor方法执行必需的设置和清除工作。
local handles are held on a stack and are deleted when the appropriate destructor is called.
本地句柄。本地句柄在栈上,并且当指定的析构函数被调用时删除。
one key driving force behind bee destruction in europe and north america has been a type of mite, the varroa destructor pest, which attacks bees and that beekeepers struggle to control, neumann said.
欧洲、北美的蜜蜂面临的毁灭背后一个关键性的驱动力是一种叫做瓦螨的小虫,它们向蜜蜂发起进攻,而养蜂人则极力想要控制它们,诺依曼说。
files. it encourages another best practice by making your class' destructor virtual.
通过生成独立的接口(lottery.h)和实现(lottery.cpp)文件,有助于采用最佳实践,它还通过将类的析构函数声明为虚函数实现另一项最佳实践。