名前空間
変種
操作

std::future_category

提供: cppreference.com
< cpp‎ | thread

Defined in header <future>
const std::error_category& future_category();
(C++11およびそれ以降)
先物との約束に関連するエラーのための静的なエラーカテゴリオブジェクトへの参照を取得します。オブジェクトは、文字列error_category::name()へのポインタを返す仮想関数"future"をオーバーライドする必要があります。それは、タイプstd::future_errorの例外が提供されたエラーコードを識別するために使用され.
Original:
Obtains a reference to the static error category object for the errors related to futures and promises. The object is required to override the virtual function error_category::name() to return a pointer to the string "future". It is used to identify error codes provided in the exceptions of type std::future_error.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

std::error_category由来不特定の実行時の型の静的オブジェクトへの参照.
Original:
a reference to the static object of unspecified runtime type, derived from std::error_category.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept specification:  
noexcept
  (C++11およびそれ以降)

[編集]

[編集] も参照してください

将来のエラー·コードを識別します
Original:
identifies the future error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(列挙) [edit]
先物又は約束に関連したエラーを報告します
Original:
reports an error related to futures or promises
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]
エラーカテゴリの基底クラス
Original:
base class for error categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]