英语单词

destructors的中文翻译

destructors

英[dɪsˈtrʌktə(r)] 美[dɪˈstrʌktər]
  • n. 垃圾焚毁炉;爆炸装置

双语例句


1. Empty destructors should not be used.
不应使用空析构函数。

youdao

2. Managing exceptions in constructors and destructors
管理构造函数和析构函数中的异常

youdao

3. Destructors are also called when the program exits.
程序退出时也会调用析构函数。

youdao

4. Destructors are often executed during stack unwinding.
栈展开期间会经常执行析构函数。

youdao

5. Thus, the assertions can be used safely in destructors, too.
因此,也可以在析构函数中安全地使用断言。

youdao

6. Classes. Constructors and Destructors. Pointers to classes.
类,构造函数和析构函数,类的指针。

youdao

7. Constructors and destructors also have a slight penalty associated with them.
构造函数和析构函数也有一点与它们相关的损失。

youdao

8. You should not use structured exception handling in functions that use objects with destructors.
在使用具有析构函数的对象的函数中,不应使用结构化异常处理。

youdao

9. An interface cannot contain constants, fields, operators, instance constructors, destructors, or types.
接口不能包含常量、字段、运算符、实例构造函数、析构函数或类型。

youdao

10. The constructors for the individual objects in the array are not invoked, although the destructors are.
尽管调用了析构函数,但是未调用数组中各个对象的构造函数。

youdao

11. Unlike destructors, it is often the case that something done inside a constructor might throw an exception.
与析构函数不同,构造函数内部所做的事情经常会抛出异常。

youdao

12. While wxWidgets is a powerful toolkit, not everybody wants to deal with C++ destructors, memory management, and all the rest.
wxWidgets 确实是一种功能强大的工具包,但并不是所有人都愿意使用 C++析构函数、内存管理等等。

youdao

13. They do not contain constructors, copy assignment operators, destructors, or non-static data members that are not themselves PODS.
这些资料结构不包含建构函式、复制指派运算子,或本身不是PODS的非静态资料成员。

youdao

14. Programming languages that support destructors or have a garbage collector may mitigate this problem by making a wrapper over the C interface.
那些支持析构函数或垃圾收集器的语言通过在C接口上作一层封装有助于降低这个问题发生的概率。

youdao

15. Object pool interface — an object-aware interface that calls the constructor and destructors appropriately during object creation and deletion, respectively.
对象池接口——有对象意识的接口,在对象创建和删除过程中分别相应地调用构造函数和析构函数。

youdao

16. Without either of these options, the try and catch code can still execute, and the system does not call the destructors of local objects up to the throw statement.
如果不使用这两个选项,try和catch代码仍然可以执行,并且系统执行到throw语句时才会调用局部对象的析构函数。

youdao

17. "The Destructors" is a literary fiction because the unexpected ending was caused by the complex characters, and it makes readers think deeply about the human nature.
《破坏者》是一篇由复杂的人物特性引发出人意料的结尾,从而给读者带来深刻的启发的文学类小说。

youdao

18. A class's members include all the members declared in the class, along with all members (except constructors and destructors) declared in all classes in its inheritance hierarchy.
类的成员包括在类中声明的所有成员,以及在该类的继承层次结构中的所有类中声明的所有成员(构造函数和析构函数除外)。

youdao

19. 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.
析构函数不能有参数,不能有访问级别修饰符,不能被显式调用。实例的析构函数在垃圾收集时自动调用。

youdao

20. 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.
析构函数不能有参数,不能有访问级别修饰符,不能被显式调用。实例的析构函数在垃圾收集时自动调用。

youdao

百度翻译


有道翻译


单词首字母