std::make_error_condition(std::future_errc)
提供: cppreference.com
ヘッダ <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 | - | エラーコード番号 |
[編集] 戻り値
エラーカテゴリ "future" に紐付けられた エラーコード番号 e
を保持する std::error_condition 型の値。
[編集] 例
This section is incomplete Reason: no example |
[編集] 関連項目
(C++11) |
移植性のあるエラーコードを保持します (クラス) |
(C++11) |
フューチャーのエラーコードを識別します (列挙) |