destructors

析构函数
常用释义
析构函数

例句

1·Empty destructors should not be used.

不应使用空析构函数。

2·Destructors cannot be inherited or overloaded.

无法继承或重载析构函数。

3·Managing exceptions in constructors and destructors

管理构造函数和析构函数中的异常

4·Destructors are also called when the program exits.

程序退出时也会调用析构函数。

5·Destructors are often executed during stack unwinding.

栈展开期间会经常执行析构函数。

6·Thus, the assertions can be used safely in destructors, too.

因此,也可以在析构函数中安全地使用断言。

7·Classes. Constructors and Destructors. Pointers to classes.

类,构造函数和析构函数,类的指针。

8·Constructors and destructors also have a slight penalty associated with them.

构造函数和析构函数也有一点与它们相关的损失。

9·You should not use structured exception handling in functions that use objects with destructors.

在使用具有析构函数的对象的函数中,不应使用结构化异常处理。

10·An interface cannot contain constants, fields, operators, instance constructors, destructors, or types.

接口不能包含常量、字段、运算符、实例构造函数、析构函数或类型。

更新时间:2025-03-29 16:15