std::invalid_argument
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <stdexcept> 中定义
|
||
| class invalid_argument; |
||
定义一个类型的对象抛出异常。报告出现的错误并没有被接受,因为参数值.
原文:
Defines a type of object to be thrown as exception. It reports errors that arise because an argument value has not been accepted.
[编辑] 成员函数
| 构造异常对象 (公共成员函数) | |
Inherited from std::exception
Member functions
| [虚]</div></div>
|
析构该异常对象 ( std::exception的公有虚成员函数)
|
| [虚]</div></div>
|
返回一个说明字符串 ( std::exception的公有虚成员函数)
|
</div>
