首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::make_error_code(std::future_errc)

Defined in header <future>

?

?

std::error_code make_error_code( std::future_errc e );

?

(since C++11)

构造一个std::error_code从类型的值中提取std::future_errc好像是通过:

std::error_code(static_cast<int>(e),std::future_category())...

的构造函数调用此函数。std::error_code当给一个std::future_errc争论。

参数

e

-

error code number

返回值

类型值std::error_code保存错误代码号的e与错误类别关联"future"...

另见

error_code (C++11)

holds a platform-dependent error code (class)

future_errc (C++11)

identifies the future error codes (enum)

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com