Namensräume
Varianten
Aktionen

std::unexpected

Aus cppreference.com
< cpp‎ | error

 
 
 
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)
 
Defined in header <exception>
[[noreturn]] void unexpected();
(veraltet)
std::unexpected() wird von der C + + Runtime aufgerufen, wenn ein dynamischen Exception-Spezifikation verletzt wird: eine Ausnahme von einer Funktion, deren Exception-Spezifikation verbietet Ausnahmen dieser Art geworfen .
Original:
std::unexpected() is called by the C++ runtime when a dynamischen Exception-Spezifikation is violated: an exception is thrown from a function whose exception specification forbids exceptions of this type.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::unexpected() kann auch direkt aus dem Programm aufgerufen werden .
Original:
std::unexpected() may also be called directly from the program.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
In beiden Fällen ruft std::unexpected die derzeit installierten std::unexpected_handler. Der Standardwert std::unexpected_handler Anrufe std::terminate .
Original:
In either case, std::unexpected calls the currently installed std::unexpected_handler. The default std::unexpected_handler calls std::terminate.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Parameter

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

[Bearbeiten] Rückgabewert

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

[Bearbeiten] Ausnahmen

noexcept specification:  
noexcept
  (seit C++11)

[Bearbeiten] Siehe auch

der Typ der Funktion durch std::unexpected genannt
Original:
the type of the function called by std::unexpected
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef) [edit]