std::future_error::code

< cpp‎ | thread‎ | future error
const std::error_code& code() const noexcept;
(C++11 起)

返回存储的错误码。

参数

(无)

返回值

存储的错误码。

参阅

返回对错误码指定的解释性字符串
(公开成员函数)