释义 |
destructors 英dɪst'rʌktəz美dɪst'rʌktəz COCA¹⁶⁸⁶⁷⁷ 基本例句 n.析构器¹⁰⁰原型destructor的复数 Constructors and destructors also have a slight penalty associated with them. 构造函数和析构函数也有一点与它们相关的损失。 blogbus Empty destructors should not be used. 不应使用空析构函数。 microsoft Furthermore, constructors, destructors, and operators are not allowed. 此外,也不允许构造函数、析构函数和运算符。207.46.16.251 It might result in leaks for classes with destructors that perform memory de-allocation; 如果类中包含执行内存释放操作的析构函数,此缺陷可能导致泄漏; microsoft Therefore, calls to these constructors and destructors must be performed by the run- time code. 因此,必须由运行时代码执行对这些构造函数和析构函数的调用。 microsoft Thus, the assertions can be used safely in destructors, too. 因此,也可以在析构函数中安全地使用断言。 ibm Destructors are also called when the program exits. 当程式结束时,解构函式也会被呼叫。 microsoft Destructors are used to destruct instances of classes. 解构函式是用来解构类别的执行个体。 microsoft Destructors cannot be defined instructs. 不能在结构中定义析构函数。 microsoft 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. 析构函数不能有参数,不能有访问级别修饰符,不能被显式调用。实例的析构函数在垃圾收集时自动调用。 cnblogs |