std::overflow_error
来自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. |
| Defined in header <stdexcept>
|
||
| class overflow_error; |
||
定义一个类型的对象抛出异常。报告错误的产生是因为在一些计算的整数值不能代表,因为它有过大的正面价值。如果该值为浮点类型,
range_error应该被使用Original:
Defines a type of object to be thrown as exception. It reports errors that arise because integer value in some computation could not be represented as it had too large positive value. If the value has floating point type,
range_error should be used.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.
[编辑] 成员函数
| 构造异常对象 Original: constructs the exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数) | |
Inherited from std::exception
Member functions
| [虚拟的] </ SPAN></div></div>
|
解构异常对象 Original: destructs the exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (虚拟公有成员函数of std::exception)
|
| [虚拟的] </ SPAN></div></div>
|
返回一个说明字符串 Original: returns an explanatory string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (虚拟公有成员函数of std::exception)
|
</div>
