命名空间
变体
操作

std::bad_exception::what

来自 cppreference.cn
 
 
 
 
 
virtual const char* what() const noexcept;
(C++26 起为 constexpr)

返回解释字符串。

[edit] 参数

(无)

[edit] 返回值

指向以 null 结尾的字符串的指针,包含解释性信息。