destructor是什么意思,destructor中文翻译,destructor怎么读、发音、用法及例句
•destructor
destructor 发音
英:[dɪsˈtrʌktə] 美:[dɪˈstrʌktər]
英: 美:
destructor 中文意思翻译
常见释义:
n.垃圾焚毁炉;爆炸装置
destructor 短语词组
1、destructor cpp ─── 析构函数cpp
2、destructor c# ─── 析构函数c#
3、destructor called ─── 调用了析构函数
4、Kinetic Energy Penetrator Destructor ─── 动能穿透器摧毁器
5、incendiary destructor ─── 燃烧摧毁器
6、Peronospora destructor ─── [网络] 大葱霜霉;洋葱霜霉
7、destructor vst ─── 析构函数vst
8、destructor en ingles ─── 自毁器
9、destructor d2 ─── 析构函数d2
10、destructor c++ ─── 析构函数c++
11、Mayetiola destructor ─── [网络] 黑森瘿蚊;小麦瘿蚊
destructor 相似词语短语
1、destructos ─── 破坏
2、destructs ─── v.(审慎地)毁坏(某物,尤指火箭或导弹);为安全而自毁(导弹或火箭);n.(故意的)毁坏;自毁;adj.为可自毁而设计的
3、detractor ─── n.贬低者;诽谤者
4、destruction ─── n.破坏,毁灭;摧毁
5、destruct ─── v.(审慎地)毁坏(某物,尤指火箭或导弹);为安全而自毁(导弹或火箭);n.(故意的)毁坏;自毁;adj.为可自毁而设计的
6、destructo ─── n.终结者
7、destructed ─── 被自毁的;破坏(destruct的过去式和过去分词)
8、distractor ─── n.错误选择;诱导答案
9、destructors ─── n.垃圾焚毁炉;爆炸装置
destructor 常见例句(双语使用场景)
1、Whenever you provide any one of a destructor, copy constructor or assignment operator, you will generally need to provide all three. ─── 主题:关于析构函数,拷贝构造函数和赋值函数的一句话怎么理解?
2、Destructor for class required in conditional expression ─── 条件表达式需要析构函数类
3、Og also enables the Named Return Value optimization, which eliminates the copy constructor and destructor of a stack based return value. ─── Og还会启用命名的返回值优化,此优化可消除基于堆栈的返回值的复制构造函数和析构函数。
4、If that is the case, you'll probably be tempted to avoid paying the overhead cost of a call to an empty function by declaring your destructor inline. ─── 如果是这种情况,你可能会通过将它声明成内联函数来避免函数调用的消耗。
5、A destructor must be coded to release all the resources that an object owns. ─── 一个合格的析构函数,必须将对象自己拥有的内存资源完全释放干净。
6、When we delete a pointer that points to a dynamically allocated object, the destructor is run to clean up the object before the memory for that object is freed. ─── 删除指向动态分配对象的指针时,需要运行析构函数在释放对象的内存之前清除对象。
7、Is the object destructor, but it should not be used unless you really, really need it. ─── 是对象析构器,但是除非您确实非常非常需要,否则不应该使用它。
8、Keywords city rubbish destructor's burning substance contamination Let's standard environmental protection continuable developing; ─── 城市垃圾;垃圾焚烧(炉);燃烧物;污染物;排放标准;环境保护;可持续发展;
9、refuse destructor furnace ─── 废渣焚烧炉
10、Key words: Ditylenchus destructor; acetylcholinesterase; eserine; aldicarb; molecular polymorphism ─── 关键词:甘薯茎线虫;乙酰胆碱酯酶;毒扁豆碱;涕灭威;分子型
11、the destructor parameter can be NULL or a pointer to an optional destructor function to be associated with key. ─── 在类定义时类体内写的好像都是内联函数的。应该可以带参数。大部分参数都为空。
12、In Listing 24, the constructor of F is called before F2; likewise for the destructor. ─── 在 清单 24 中,先调用 F 的构造函数,然后是 F2 的;对于销毁函数也是这样。
13、If several threads are using the same container the destructor of the auto-unlink hook will be called without any thread synchronization so removing the object is thread-unsafe. ─── 如果有多个线程使用同一个容器,由于自断钩子的析构函数被调用时没有线程同步,所以移除对象不是线程安全的。
14、The destructor is called just before your component is destroyed by garbage collection and its memory is reclaimed. ─── 在垃圾回收销毁组件并回收其内存之前调用析构函数。
15、Al-Sadr castigated Bush for keeping troops in Iraq and compared the occupation to the regime of "the destructor," Saddam Hussein. ─── 一名跟萨德尔有联盟关系的伊拉克议员在星期六与激进的什叶派宣读了一封严厉的公开信.
16、When we inherit from one of these classes, then our destructor must also promise not to throw any exceptions. ─── 当继承这两个类中的一个时,我们的析构函数也必须承诺不抛出任何异常。
17、But what if a contained object's destructor were allowed to throw? ─── 不过如果允许被包含的对象的析构函数抛出异常会怎样?
18、The destructor is called just before your component is destroyed by garbage collection and its memory is reclaimed. ─── 在垃圾回收销毁组件并回收其内存之前调用析构函数。
19、When a class contains a destructor, an entry is created in the Finalize queue. ─── 如果类包含析构函数,Finalize队列中则会创建一个项。
20、For example,given the following function,where class X defines a copy constructor,virtual destructor, and virtual function foo(); ─── 关于对象模型如何影响程序:(注意:下面的模型是采用了上面的模型)
21、safety destructor ─── 安全自毁器
22、Destructors cannot have parameters, they cannot have accessibility modifiers, and they cannot be invoked explicitly. The destructor for an instance is invoked automatically during garbage collection. ─── 析构函数不能有参数,不能有访问级别修饰符,不能被显式调用.实例的析构函数在垃圾收集时自动调用.
23、Close method on a file object instead of closing the file in the class destructor or with ─── 方法,而不是在类析构函数中关闭该文件或者使用
24、A fuzzy control system for stabilizing combustion of destructor ─── 垃圾焚烧炉稳定燃烧的模糊控制系统研究
25、The destructor is a special member function that can be used to do whatever resource deallocation is needed.It serves as the complement to the constructors of the class. ─── 析构函数就是这样的一个特殊函数,它可以完成所需的资源回收,作为类构造函数的补充。
26、destructor plant ─── 垃圾处理厂垃圾焚化厂
27、timing destructor ─── 定时灭雷器
28、Research on the Combustion Stability Control in Destructor ─── 垃圾焚烧稳定性控制研究
29、refuse destructor ─── 垃圾焚化炉
30、The pathogenicity of sweet potato stem nematode (Ditylenchus destructor) to peanut (Arachis hypogaea) was confirmed by inoculation test in pot with peanut plants. ─── 摘要盆栽接种试验表明,侵染甘薯的腐烂茎线虫对花生具有显著的致病性。
31、When an exception is caught, the compiler invokes the class destructor or destructors for the object or objects that are in the same scope as the exception. ─── 优化不会影响此行为。当捕获异常时,编译器将为与该异常在同一范围内的对象调用类析构函数。
32、It also acts like the destructor in that we first have to decrement the use count of the left-hand operand and then delete the pointers if the use count goes to zero. ─── 它也像析构函数一样,首先必须将左操作数的使用计数减1,如果使用计数减至0就删除指针。
33、Peronospora destructor ─── n. 葱霜霉
34、When the lock object goes out of scope and is destroyed, the object's destructor calls Unlock for you, releasing the resource. ─── 当锁定对象超出范围并被销毁时,该对象的析构函数调用Unlock以释放资源。
35、The effect of calling the destructor explicitly is that the object itself is properly cleaned up. ─── 显式调用析构函数的效果是适当地清除对象本身。
36、When the lock object goes out of scope and is destroyed, the object's destructor calls Unlock for you, releasing the resource. ─── 当锁定对象超出范围并被销毁时,该对象的析构函数调用Unlock以释放资源。
37、This solution defines the class CList as a class derived from the LIST structure and it stores a single destructor value to handle a single stored type. ─── 本解决方案将CList类定义为从LIST结构导出的一个类,它通过存储解除函数的单个值来处理单个存储类型。
38、glycyphagus destructor desmopressin ─── 去氨加压素
39、The resource-managing class should be designed so that the constructor acquires the resource and the destructor frees it. ─── 应该设计资源管理类,以便构造函数分配资源而析构函数释放资源。
40、To release resources and perform other clean-up operations before its destructor is called. ─── 在调用其析构函数之前释放资源并执行其他清理操作。
41、And since to establish the invariant you often have to acquire resources, you have the destructor to pull down the operating environment and release any resources required. ─── 换句话来说,构造函数建立了不变式。而为了建立不变式,你通常需要分配一些资源。
42、When implementing a constructor or destructor in assembler, be sure to preserve the DL register. ─── 当在内嵌汇编程序中实现构造器或析构器时,应确认保持DL寄存器。
43、Should the exception in the destructor be ignored? ─── 应该忽略析构函数中的异常吗?
44、Finally, when the destructor is called, it decrements the use count and deletes the underlying object if the count goes to zero. ─── 最后,调用析构函数时,析构函数减少使用计数的值,如果计数减至0,则删除基础对象。
45、Layered Fuzzy Control System of Destructor ─── 垃圾焚烧炉的分层模糊控制系统
46、A destructor, in general, can perform any operation that the class designer wishes to have executed subsequent to the last use of an object of that class. ─── 一般而言,析构函数可以执行任意操作,该操作是类设计者希望在该类对象的使用完毕之后执行的。
47、Of the copy-control members, only the destructor should be defined as virtual.Constructors cannot be defined as virtual. ─── 在复制控制成员中,只有析构函数应定义为虚函数,构造函数不能定义为虚函数。
48、Using virtual destructors helps ensure that the correct destructor is called when instances of derived classes are deleted. ─── 使用虚析构函数帮助确保当删除导出类的实例时调用正确的析构函数。
49、A destructor is not limited only to relinquishing resources. ─── 析构函数并不仅限于用来释放资源。
50、We can directly call an object's destructor to destroy the object. Running the destructor does not free the memory in which the object resides. ─── 可以直接调用对象的析构函数来撤销对象。运行析构函数并不释放对象所在的内存。
51、We'll explain virtual destructors in Section 15.4.4 (p. 587), but for now it is worth noting that classes used as the root class of an inheritance hierarchy generally define a virtual destructor. ─── 它定义了一个构造函数以及我们已描述过的函数,该构造函数使用默认实参(第7.4.1节),允许用0个、1个或两个实参进行调用,它用这些实参初始化数据成员。
52、When a destructor is called, actions specified in the destructor implementation are performed first. ─── 当一个析构器被调用时,析构器实现中指定的动作将被首先执行。
53、In the class destructor we will print out the final value of the counter. ─── 在类的析构函数里面,我们打印出计数器最终的值.
54、Here is an example of a destructor implementation. ─── 下面是析构器实现的例子。
55、In addition, it's worth noting that C++/CLI automatically calls the destructor of local variables when exiting a method. ─── 另外,值得注意的是,C++/CLI 在退出方法时会自动调用局部变量的析构函数。
56、Even with this explicit control over resources, the destructor becomes a safeguard to clean up resources if the call to the Dispose method failed. ─── 即使有这种对资源的显式控制,析构函数也是一种保护措施,可用来在对Dispose方法的调用失败时清理资源。
57、refuse destructor plant ─── 垃圾焚烧炉装置
58、Modeling constructor, destructor, and copy constructor. ─── 建模构造函数、分析构造函数,以及拷贝构造函数。
59、Shorthand for the rule of thumb that if a class needs a nontrivial destructor then it almost surely also needs to define its own copy constructor and an assignment operator. ─── 一个经验原则的简写形式,即,如果一个类需要析构函数,则该类几乎也必然需要定义自己的复制构造函数和赋值操作符。
60、To manage a class with pointer members, we must define all three copy-control members: the copy constructor, assignment operator, and the destructor. ─── 为了管理具有指针成员的类,必须定义三个复制控制成员:复制构造函数、赋值操作符和析构函数。
61、If we delete a pointer to base, then the base-class destructor is run and the members of the base are cleaned up.If the object really is a derived type, then the behavior is undefined. ─── 如果删除基类指针,则需要运行基类析构函数并清除基类的成员,如果对象实际是派生类型的,则没有定义该行为。
62、Method, retain the destructor while carrying out the first item. ─── 方法,则在执行第一项时保留析构函数。
63、A client block is a special type of memory block used by MFC programs for objects that require a destructor. ─── “客户端块”是由MFC程序用于需要析构函数的对象的特殊类型内存块。
64、If the member is a built-in type or a pointer, the member is copied or assigned directly;the destructor does nothing to destroy members of built-in or pointer type. ─── 如果成员为内置类型或指针,则直接复制或赋值,析构函数对撤销内置类型或指针类型的成员没有影响。
65、However, in this case, you know that the destructor must have been called by the garbage collector and you should not attempt to access other managed objects .... ─── 但是在这种情况下,析构函数必须由垃圾收集器调用,而且不应访问其他托管的对象....
66、The destructor must be virtual if a pointer to a base is ever deleted when it actually addresses a derived-type object. ─── 因为派生类对象包含基类部分,所以可以将派生类型的引用或指针转换为基类类型的引用或指针。
67、There is no guarantee that the destructor will ever get called, even once memory is released. ─── 就算内存被收集,你的析构函数也不一定会被调用。
68、If the destructor is empty, this just causes a needless loss of performance. ─── 如果析构函数为空,只会导致不必要的性能损失。
69、If it considers an object eligible for destruction, it calls the destructor (if any) and reclaims the memory used to store the object. ─── 如果垃圾回收器认为某个对象符合析构,则调用析构函数(如果有)并回收用来存储此对象的内存。
70、Add output statements to the constructor, destructor and copy constructor to see the effect of the Named Return Value optimization when you run the program. ─── 将输出语句添加到构造函数、析构函数和复制构造函数,以查看在运行程序时命名返回值优化的效果。
71、In fact, many people summarize the situation this way: declare a virtual destructor in a class if and only if that class contains at least one virtual function. ─── 实际上,许多人总结出的结果是:声明虚销毁函数当且仅当类包含至少一个虚函数。
72、The destructor is used to free resources acquired when the object was constructed or during the lifetime of the object. ─── 析构函数可用于释放对象时构造或在对象的生命期中所获取的资源。
73、The programmer has no control over when the destructor is called because this is determined by the garbage collector . ─── 程序员无法控制何时调用析构函数,因为这是由垃圾回收器决定的。
74、You need this definition, because the way virtual destructors work is that the most derived class's destructor is called first, then the destructor of each base class is called. ─── 你需要这个定义,因为虚销毁函数的工作方式是最后的派生类的销毁函数先被调用,然后是每一个基类的销毁函数。
75、Our results are additional evidence that RAPD variability is not a reliable criterion for taxonomical inference and provide support for allopatric distribution of M. destructor and M. hordei species, in Tunisia. ─── destructor和M. hordei属于异域分布的观点提供了补充证据。
76、It is unclear what should happen if a destructor itself throws a new exception during this process. ─── 如果在这个过程中析构函数本身抛出新的异常,又会发生什么呢?
77、The constructor and destructor methods of this object do the necessary setup and cleanup. ─── 这个对象的constructor和destructor方法执行必需的设置和清除工作。
78、The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do. ─── 继承层次关系的根类应该定义虚函数性质的析构函数,即使这个析构函数不做任何的事情。
79、destructor room ─── 垃圾焚化间
80、The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do. ─── 即使析构函数没有工作要做,继承层次的根类也应该定义一个虚析构函数。
81、In Managed Extensions, the destructor of a reference class is implemented through the following two steps: The user-supplied destructor is renamed internally to ─── 在托管扩展中,引用类的析构函数是通过以下两个步骤来实现的
82、Similarly, a subclass destructor must call its superclass destructor after it has completed its own resource reclamation. ─── 类似地,子类析构函数在它完成其资源释放之后,也要调用基类的析构函数。
83、Kinetic Energy Penetrator Destructor ─── 动能钻探武器自毁器
84、If it considers an object eligible for destruction, it calls the destructor (if any) and reclaims the memory used to store the object. ─── 如果垃圾回收器认为某个对象符合析构,则调用析构函数(如果有)并回收用来存储此对象的内存。
85、A useful rule of thumb is that if a class needs a destructor, it will also need the assignment operator and a copy constructor. ─── 如果类需要析构函数,则它也需要赋值操作符和复制构造函数,这是一个有用的经验法则。
86、Including the same pointer to the same destructor in each list node looks like a waste of memory space. ─── 在每个链表节点中包含同一个解除函数的同一个指针似乎是浪费内存空间。
87、The copy constructor and destructor but no assignment operator. ─── 定义了复制构造函数和析构函数但没有定义赋值操作符。
88、If the destructor is empty, this simply results in a loss of performance. ─── 如果析构函数为空,只会导致性能降低。
89、Destructor cannot have a return type specification ─── 析构函数不能有返回类型说明
版权声明: 本站仅提供信息存储空间服务,旨在传递更多信息,不拥有所有权,不承担相关法律责任,不代表本网赞同其观点和对其真实性负责。如因作品内容、版权和其它问题需要同本网联系的,请发送邮件至 举报,一经查实,本站将立刻删除。