析构函数 destructor ; destructor function
结构函数 [计] structure function
构造函数和析构函数 Constructor and Destructor ; Construction and destruction
构造函数 Constructor ; constructor function ; ctor
析构函数的异常 Exceptions in Destructors
相位结构函数 phase structure function
析构函数次序 destructor order
径向结构函数 radial structure function
析构函数、析构器 destructor
管理构造函数和析构函数中的异常
因此,也可以在析构函数中安全地使用断言。
Thus, the assertions can be used safely in destructors, too.
队列类的构造函数和析构函数负责创建和销毁互斥锁,见清单1。
The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1.
应用推荐