std::range_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 range_error; |
||
定义一个类型的对象抛出异常。报告出现的错误,因为一些计算浮点值不能代表,因为它的幅度过大或过小。如果该值是整数类型,
underflow_error或overflow_error应该被使用Original:
Defines a type of object to be thrown as exception. It reports errors that arise because floating point value in some computation could not be represented because it was too large or too small in magnitude. If the value has integral type,
underflow_error or overflow_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>
