std::terminate
Aus cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
definiert in Header <exception> | ||
[[noreturn]]void terminate(); | ||
std::terminate()
wird von der C + + Runtime aufgerufen, wenn Ausnahmebehandlung nicht für eine der folgenden Gründe:Original:
std::terminate()
is called by the C++ runtime when exception handling fails for any of the following reasons:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
eine Ausnahme geworfen und nicht gefangen (es ist die Implementierung definiert, ob ein Stack Unwinding in diesem Fall geschehen)
2) Original:
an exception is thrown and not caught (it is implementation-defined whether any stack unwinding is done in this case)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
eine Ausnahme während der Ausnahmebehandlung (zB von einem destructor irgendeiner lokalen Objekt oder aus einer Funktion, die während Ausnahmebehandlung gerufen werden muss) geworfen
3) Original:
an exception is thrown during exception handling (e.g. from a destructor of some local object, or from a function that had to be called during exception handling)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
der Konstruktor oder Destruktor eines statischen oder lokalen Thread-Objekt löst eine Ausnahme
4) Original:
the constructor or the destructor of a static or thread-local object throws an exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
eine Funktion mit std::atexit registriert oder std::at_quick_exit eine Ausnahme ausgelöst
5) Original:
a function registered with std::atexit or std::at_quick_exit throws an exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
a noexcept Spezifikation verletzt wird (es ist die Implementierung definiert, ob ein Stack Unwinding in diesem Fall geschehen)
6) Original:
a noexcept Spezifikation is violated (it is implementation-defined whether any stack unwinding is done in this case)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
a dynamischen Exception-Spezifikation verletzt wird und der Standard-Handler für std::unexpected ausgeführt wird
7) Original:
a dynamischen Exception-Spezifikation is violated and the default handler for std::unexpected is executed
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
ein Nicht-Standard-Handler für std::unexpected löst eine Ausnahme, die die zuvor verletzt dynamischen Exception-Spezifikation verletzt, wenn die Spezifikation nicht enthalten std::bad_exception
8) Original:
a non-default handler for std::unexpected throws an exception that violates the previously violated dynamic exception specification, if the specification does not include std::bad_exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
std::nested_exception::rethrow_nested für ein Objekt, das nicht hält, einen gefangenen Ausnahme aufgerufen
9) Original:
std::nested_exception::rethrow_nested is called for an object that isn't holding a captured exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
eine Ausnahme von der ersten Funktion std::thread geworfen
10) Original:
an exception is thrown from the initial function of std::thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
a joinable std::thread zerstört oder zugewiesen
Original:
a joinable std::thread is destroyed or assigned to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
std::terminate()
kann auch direkt aus dem Programm aufgerufen werden .Original:
std::terminate()
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.
You can help to correct and verify the translation. Click here for instructions.
Auf jeden Fall fordert
std::terminate
die derzeit installierten std::terminate_handler. Der Standardwert std::terminate_handler Anrufe std::abort .Original:
In any case,
std::terminate
calls the currently installed std::terminate_handler. The default std::terminate_handler calls std::abort.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]Ausnahmen
[Bearbeiten]Siehe auch
der Typ der Funktion durch std::terminate genannt Original: the type of the function called by std::terminate The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |