std::error_condition – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
| definiert in Header <system_error> |
||
|
|
(seit C++11) | |
std::error_condition ist eine Plattform-unabhängige Fehlercode. Wie std::error_code wird eindeutig durch eine ganze Zahl und eine std::error_category identifiziert, aber im Gegensatz std::error_code, ist der Wert nicht plattformabhängigen .
Original:
std::error_condition is a platform-independent error code. Like std::error_code, it is uniquely identified by an integer value and a std::error_category, but unlike std::error_code, the value is not platform-dependent.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Eine typische Implementierung enthält ein Integer-Teil (der Wert) und einen Zeiger auf ein std::error_category .
Original:
A typical implementation holds one integer data member (the value) and a pointer to an std::error_category.
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_condition Original: constructs an error_condition The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
ersetzt den Inhalt eines error_condition Original: replaces the contents of an error_condition The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
ersetzt den Inhalt eines error_condition Original: replaces the contents of an error_condition The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
setzt die error_condition auf den Wert 0 in generic_category Original: sets the error_condition to value 0 in generic_category The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
erhält den Wert des error_condition Original: obtains the value of the error_condition The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
erhält die error_category für diese error_condition Original: obtains the error_category for this error_condition The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
erhält die erklärende Zeichenfolge für diesen error_condition Original: obtains the explanatory string for this error_condition The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) | |
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. (öffentliche Elementfunktion) | |
Non-Member-Funktionen
vergleicht error_conditions und error_codes Original: compares error_conditions and error_codes The text has been machine-translated via Google Translate. (Funktion) | |
schafft einen Fehler Objekt angegeben error_category Original: creates an error condition object of specified error_category The text has been machine-translated via Google Translate. (Funktion) [edit] | |
Helper-Klassen
kennzeichnet eine Aufzählung als std::error_condition Original: identifies an enumeration as an std::error_condition The text has been machine-translated via Google Translate. (Klassen-Template) [edit] | |
Siehe auch
hält einen plattformabhängigen Fehlercode Original: holds a platform-dependent error code The text has been machine-translated via Google Translate. (Klasse) [edit] | |
Basisklasse für Fehler Kategorien Original: base class for error categories The text has been machine-translated via Google Translate. (Klasse) [edit] | |