std::exception::exception
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| exception(); |
(1) | |
| exception( const exception& other ); |
(2) | |
构造新的异常对象.
1) Original:
Constructs new exception object.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
默认构造函数。 what()返回空字符串.
2) Original:
Default constructor. what() returns empty string.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
拷贝构造函数。初始化内容的
otherOriginal:
Copy constructor. Initializes the contents with those of
otherThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 参数
| other | - | 另一个例外指定的内容
Original: another exception to assign the contents of The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |