std::future_error::what
来自cppreference.com
< cpp | thread | future error
并发支持库
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::future_error
| 成员函数 | ||||
|
future_error::what
|
|
virtual
const
char*
what()
const
noexcept;
|
(C++11 起) | |
返回解释性字符串。
参数
(无)
返回值
返回带解释信息的空终止字符串。
参阅
| 返回错误码 (公开成员函数) |