std::make_error_condition(std::future_errc)
來自 cppreference.com
< cpp | thread | future errc
在標頭檔案 <future> 中定義 |
||
std::error_condition make_error_condition( std::future_errc e ); |
(C++11 起) | |
從 std::future_errc 型別的值構造 std::error_condition 物件,如同透過
std::error_condition(static_cast<int>(e), std::future_category()).
目錄 |
[編輯] 引數
e | - | 錯誤碼數字 |
[編輯] 返回值
型別為 std::error_condition 的值,它包含與錯誤類別 "future" 關聯的來自 e
的錯誤碼號。
[編輯] 示例
本節不完整 原因:無示例 |
[編輯] 參閱
(C++11) |
儲存可移植錯誤碼 (類) |
(C++11) |
標識 future 錯誤程式碼 (列舉) |