make_error_code 函数

创建一个 error_conditionerror_category 对象分析 future 错误.

inline error_code make_error_code(
   future_errc Errno
) _NOEXCEPT;

参数

返回值

error_code(static_cast<int>(Errno), future_category());

要求

标头: future

命名空间: std

请参见

参考

<future>

其他资源

C++ 标准库头文件