Namensräume
Varianten

std::operator==,!=,<<div class="t-tr-text">(Std :: error_code)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::error_code)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>

Aus cppreference.com

<metanoindex/>

 
 
 
Fehlerbehandlung
Exception Handling
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exception
uncaught_exception
exception_ptr(C++11)
make_exception_ptr(C++11)
current_exception(C++11)
rethrow_exception(C++11)
nested_exception(C++11)
throw_with_nested(C++11)
rethrow_if_nested(C++11)
Ausnahmebehandlung Ausfälle
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
terminate
terminate_handler
get_terminate(C++11)
set_terminate
unexpected(veraltet)
bad_exception
unexpected_handler(veraltet)
get_unexpected(C++11)(veraltet)
set_unexpected(veraltet)
Exception Kategorien
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
Fehlercodes
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Fehlercodes
errno
Assertions
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
assert
system_error Anlage
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_category(C++11)
generic_category(C++11)
system_category(C++11)
error_condition(C++11)
errc(C++11)
error_code(C++11)
system_error(C++11)
 
std::error_code
Member-Funktionen
Original:
Member functions
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_code
error_code::operator=
error_code::assign
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.
error_code::clear
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.
error_code::value
error_code::category
error_code::default_error_condition
error_code::message
error_code::operator bool
Non-Member-Funktionen
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator<
operator==
operator!=
operator<<
make_error_code
Helper-Klassen
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
is_error_code_enum
hash<std::error_code>
 
<tbody> </tbody>
definiert in Header <system_error>
bool operator==( const error_code& lhs, const error_code& rhs );
(1) (seit C++11)
bool operator!=( const error_code& lhs, const error_code& rhs );
(1) (seit C++11)
bool operator<( const error_code& lhs, const error_code& rhs );
(1) (seit C++11)
Vergleicht zwei Fehlercode Objekte .
Original:
Compares two error code objects.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Vergleicht lhs und rhs für die Gleichstellung .
Original:
Compares lhs and rhs for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Vergleicht lhs und rhs für die Gleichstellung .
Original:
Compares lhs and rhs for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Überprüft, ob lhs weniger als rhs ist .
Original:
Checks whether lhs is less than rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

lhs, rhs -
Fehlercodes zu vergleichen
Original:
error codes to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

1)
true wenn der Fehler Kategorie und Fehler Wert gleich zu vergleichen
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
.|true if the error category and error value compare equal}}.}}
2)
true wenn der Fehler Kategorie oder Fehler zu vergleichen sind nicht gleich.
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
|true if the error category or error value compare are not equal}}}}
3)
true wenn lhs.category() < rhs.category(). Andernfalls, wenn true lhs.category() == rhs.category() && lhs.value() < rhs.value(). Andernfalls false
Original:
true if lhs.category() < rhs.category(). Otherwise, true if lhs.category() == rhs.category() && lhs.value() < rhs.value(). Otherwise, false
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ausnahmen

noexcept specification:  
<tbody> </tbody>
noexcept
  (seit C++11)

Ausnahmen

noexcept specification:  
<tbody> </tbody>
noexcept
  (seit C++11)

Siehe auch

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]