... 异常和建构函数(exception and constructor) 异常和析构函数(exception and destructor) 异常和库(exception and library) ...
基于18个网页-相关网页
异常和析构函数
Exceptions and destructors
以上为机器翻译结果,长、整句建议使用 人工翻译 。
换一种说法就是永远都不要为那些其构造函数和析构函数可能抛出异常的类定义全局(静态全局)实例。
The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.
youdao
管理构造函数和析构函数中的异常
Managing exceptions in constructors and destructors
应用推荐
模块上移
模块下移
不移动