「cpp/thread/future errc」の版間の差分
提供: cppreference.com
細 (1版:Translate from the English version) |
細 (r2.7.3) (ロボットによる 追加: de, en, es, fr, it, pt, ru, zh) |
||
48行: | 48行: | ||
{{dcl list template | cpp/error/dcl list error_condition}} | {{dcl list template | cpp/error/dcl list error_condition}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
2012年11月2日 (金) 20:55時点における版
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <ios>
|
||
enum class future_errc { broken_promise, |
(C++11以上) | |
The scoped enumeration std::future_errc
defines the error codes reported by std::future and related classes in std::future_error exception objects. Only four error codes are required, although the implementation may define additional error codes. Because the appropriate specialization of std::is_error_code_enum is provided, values of type std::future_errc
are implicitly convertible to std::error_code.
目次 |
メンバー定数
定数
Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Explanation |
broken_promise
|
the asynchronous task abandoned its shared state |
future_already_retrieved
|
the contents of shared state were already accessed through std::future |
promise_already_satisfied
|
attempt to store a value in the shared state twice |
no_state
|
attempt to access std::promise or std::future without an associated shared state |
ヘルパークラス
extends the type trait std::is_error_code_enum to identify future error codes (クラステンプレート) |
非メンバ関数
constructs a future error code (関数) | |
constructs a future error_condition (関数) |
例
This section is incomplete Reason: no example |