std::make_error_condition(std::future_errc)
来自 cppreference.cn
< cpp | thread | future errc
定义于头文件 <future> |
||
std::error_condition make_error_condition( std::future_errc e ); |
(自 C++11 起) | |
从 std::error_condition 类型的对象,从 std::future_errc 类型的值构造,如同通过
std::error_condition(static_cast<int>(e), std::future_category()).
内容 |
[编辑] 参数
e | - | 错误代码编号 |
[编辑] 返回值
类型为 std::error_condition 的值,它持有来自 e
的错误代码编号,并与错误类别 "future" 相关联。
[编辑] 示例
本节尚不完整 原因:没有示例 |
[编辑] 参见
(C++11) |
持有可移植的错误代码 (类) |
(C++11) |
标识 future 错误代码 (枚举) |