std::make_error_condition(std::future_errc)
Defined in header <future> | ? | ? |
---|---|---|
std::error_condition make_error_condition( std::future_errc e ); | ? | (since C++11) |
构造一个std::error_condition
从类型的值中提取std::future_errc
好像是通过:
std::error_condition(static_cast<int>(e),std::future_category())
...
参数
e | - | error code number |
---|
返回值
类型值std::error_condition
保存错误代码号的e
与错误类别关联"future"
...
例
另见
error_condition (C++11) | holds a portable error code (class) |
---|---|
future_errc (C++11) | identifies the future error codes (enum) |
? cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com