◐ Shell
clean mode source ↗

std::error_code – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<system_error>

class error_code;

(seit 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.

Member-Funktionen

baut einen Fehlercode

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.


(öffentliche Elementfunktion) [edit]

weist einen weiteren Fehler-Code

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.


(öffentliche Elementfunktion) [edit]

weist einen weiteren Fehler-Code

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.


(öffentliche Elementfunktion) [edit]

Modifiers

Original:

Modifiers

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

setzt den error_code auf den Wert 0 in generic_category

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.


(öffentliche Elementfunktion) [edit]

Beobachter

Original:

Observers

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

erhält den Wert des 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.


(öffentliche Elementfunktion) [edit]

erhält die error_category für diese error_code

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.


(öffentliche Elementfunktion) [edit]

erhält die error_condition für diese error_code

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.


(öffentliche Elementfunktion) [edit]

erhält die erklärende Zeichenfolge für diesen 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.


(öffentliche Elementfunktion) [edit]

prüft, ob der Wert ungleich Null ist

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.


(öffentliche Elementfunktion) [edit]

Non-Member-Funktionen

vergleicht zwei error_codes

Original:

compares two error_codes

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


(Funktion) [edit]

und gibt den Wert der Nachricht an einen Ausgabestrom

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.


(Funktion) [edit]

schafft einen Fehlercode aus einer 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.


(Funktion) [edit]

Helper-Klassen

kennzeichnet eine Klasse als error_code Enumeration

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.


(Klassen-Template) [edit]

Hash-Unterstützung für 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.


(class Template-Spezialisierung) [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]

Basisklasse für Fehler Kategorien

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.


(Klasse) [edit]