std::bad_exception::what
来自cppreference.com
< cpp | error | bad exception
工具库
诊断库
std::bad_exception
成员函数 | ||||
bad_exception::what |
virtualconstchar* what()constnoexcept; | (C++26 起为 constexpr) | |
返回解释性字符串。
[编辑]参数
(无)
[编辑]返回值
指向拥有解释信息的空终止字符串的指针。