runtime_error
描述 (Description)
这是一个运行时错误异常。
声明 (Declaration)
以下是std :: runtime_error的声明。
class runtime_error;
C++11
class runtime_error;
参数 (Parameters)
没有
返回值 (Return Value)
没有
异常 (Exceptions)
No-throw guarantee - 没有成员抛出异常。
成员 (Members)
constructor - what_arg与成员返回的值具有相同的内容。
what - 用于获取字符串识别异常。