◐ Shell
clean mode source ↗

std::error_category – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<system_error>

class error_category;

(seit C++11)

std::error_category dient als Basisklasse für spezifische Fehler Kategorie Typen wie std::system_category, std::iostream_category, etc. Jede bestimmten Kategorie-Klasse definiert die error_code - error_condition Mapping und hält die erklärenden Strings für alle error_conditions. Die Objekte der Fehlerklasse Klassen werden als Singletons per Referenz übergeben behandelt .

Original:

std::error_category serves as the base class for specific error category types, such as std::system_category, std::iostream_category, etc. Each specific category class defines the error_code - error_condition mapping and holds the explanatory strings for all error_conditions. The objects of error category classes are treated as singletons, passed by reference.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Member-Funktionen

konstruiert eine error_category

Original:

constructs 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.


(öffentliche Elementfunktion) [edit]

[virtuell]

zerstört sich eine error_category

Original:

destructs 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.


(virtuellen öffentlichen Member-Funktion) [edit]

operator=

[gelöscht]

nicht kopieren übertragbar

Original:

not copy assignable

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

[virtuell]

erhält den Namen der Kategorie

Original:

obtains the name of the category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(virtuellen öffentlichen Member-Funktion) [edit]
maps error_code to error_condition
(virtuellen öffentlichen Member-Funktion) [edit]

[virtuell]

vergleicht error_code und error_condition auf Äquivalenz

Original:

compares error_code and error_condition for equivalence

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(virtuellen öffentlichen Member-Funktion) [edit]

[virtuell]

erhält die erklärenden String

Original:

obtains the explanatory string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(virtuellen öffentlichen Member-Funktion) [edit]

vergleicht zwei Fehlerkategorien

Original:

compares two error categories

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

Spezifische Fehlermeldung Kategorien

identifiziert die generische Fehler Kategorie

Original:

identifies the generic error category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

identifiziert das Betriebssystem Fehler Kategorie

Original:

identifies the operating system error category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

identifiziert die iostream error Kategorie

Original:

identifies the iostream error category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

identifiziert die Zukunft error Kategorie

Original:

identifies the future error category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

Siehe auch

hält einen tragbaren Fehlercode

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.


(Klasse) [edit]

hält einen plattformabhängigen Fehlercode

Original:

holds a platform-dependent error code

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klasse) [edit]