std::error_category - cppreference.com
提供: cppreference.com
<tbody> </tbody>
std::error_category は std::system_category、 std::iostream_category などの特定のエラーカテゴリ型のための基底クラスとしての役割を持ちます。 特定のカテゴリクラスはそれぞれ error_code と error_condition のマッピングを定義し、すべての error_condition に対する説明文字列を保持します。 エラーカテゴリクラスのオブジェクトはシングルトンとして扱われ、参照渡しされます。
メンバ関数
error_category を構築します (パブリックメンバ関数) [edit] | |
[仮想] |
error_category を破棄します (仮想パブリックメンバ関数) [edit] |
operator= [削除] |
コピー代入可能ではありません (パブリックメンバ関数) [edit] |
[仮想] |
カテゴリーの名前を取得します (仮想パブリックメンバ関数) [edit] |
error_code を error_condition にマップします (仮想パブリックメンバ関数) [edit] | |
[仮想] |
error_code と error_condition の同等性を比較します (仮想パブリックメンバ関数) [edit] |
[仮想] |
説明文字列を取得します (仮想パブリックメンバ関数) [edit] |
(C++20で削除)(C++20で削除)(C++20) |
2つのエラーカテゴリを比較します (関数) [edit] |