名前空間
変種
操作

std::error_code

提供: cppreference.com
< cpp‎ | error

 
 
 
 
std::error_code
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ヘルパークラス
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
ヘッダ <system_error> で定義
class error_code;
(C++11およびそれ以降)

std::error_code is a platform-dependent error code. Each std::error_code object holds a pair of error code originating from the operating system, or some low-level interface and a pointer to an object of type std::error_category, which corresponds to the said interface. The error code values may be not unique across different error categories.

目次

[編集] メンバ関数

エラー·コードを作成します
Original:
constructs an error code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
別のエラー·コードを割り当てます
Original:
assigns another error code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
別のエラー·コードを割り当てます
Original:
assigns another error code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
generic_categoryの値を0にerror_codeを設定します
Original:
sets the error_code to value 0 in generic_category
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ERROR_CODEの値を取得します
Original:
obtains the value of the error_code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
このERROR_CODEためerror_categoryを取得します
Original:
obtains the error_category for this error_code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
このERROR_CODEためerror_conditionを取得します
Original:
obtains the error_condition for this error_code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
このerror_codeを説明するための文字列を取得します
Original:
obtains the explanatory string for this error_code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]
値が非ゼロであるかどうかをチェックします
Original:
checks if the value is non-zero
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]

[編集] 非メンバ関数

2つの error_code を比較します
(関数) [edit]
値とカテゴリ名を出力ストリームに出力します
(関数) [edit]
error_categoryからのエラー·コードを作成します
Original:
creates an error code from an error_category
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]

[編集] ヘルパークラス

error_code 用の列挙型としてのクラスを識別します
(クラステンプレート) [edit]
std::error_code に対するハッシュサポート
(クラステンプレートの特殊化) [edit]

[編集] 参照

移植性のあるエラーコードを保持します
(クラス) [edit]
エラーカテゴリのための基底クラス
(クラス) [edit]