n.破坏者;垃圾焚毁炉
Here is an example of a destructor implementation. 下面是析构器实现的例子。
Method, retain the destructor while carrying out the first item. 方法,则在执行第一项时保留析构函数。
But what if a contained object's destructor were allowed to throw? 不过如果允许被包含的对象的析构函数抛出异常会怎样?
To call a destructor, you must reference an instance object. 要调用析构器,必需引用实例对象。
A destructor is not limited only to relinquishing resources. 析构函数并不仅限于用来释放资源。