std::error_code
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <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. (パブリックメンバ関数) | |
別のエラー·コードを割り当てます 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. (パブリックメンバ関数) | |
別のエラー·コードを割り当てます 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. (パブリックメンバ関数) | |
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. (パブリックメンバ関数) | |
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. (パブリックメンバ関数) | |
この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. (パブリックメンバ関数) | |
この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. (パブリックメンバ関数) | |
この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. (パブリックメンバ関数) | |
値が非ゼロであるかどうかをチェックします 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. (パブリックメンバ関数) |
[編集] 非メンバ関数
2 error_code sを比較しますOriginal: compares two error_code sThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
出力ストリームへの値とメッセージを出力します Original: outputs the value and the message to an output stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
(C++11) |
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. (関数) |
[編集] ヘルパークラス
(C++11) |
ERROR_CODEとしてクラスを識別列挙 Original: identifies a class as an error_code enumeration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
(C++11) |
std::error_codeハッシュをサポート Original: hash support for std::error_code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレートの特殊化の2つの値を比較します) |
[編集] も参照してください
(C++11) |
携帯用のエラーコードを取得しています Original: holds a portable error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラス) |
(C++11) |
エラーカテゴリの基底クラス 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. (クラス) |