[ Web Proxy ]
URL:
Viewing: https://de.cppreference.com/cpp/error/terminate [Back]  [Original]

std::terminate cppreference.com
cppreference.com
Namensrume
Varianten

std::terminate

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 Ausflle
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)
 
<tbody> </tbody>
definiert in Header <exception>
[[noreturn]] void terminate();
std::terminate() wird von der C + + Runtime aufgerufen, wenn Ausnahmebehandlung nicht fr eine der folgenden Grnde:
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.

1)

eine Ausnahme geworfen und nicht gefangen (es ist die Implementierung definiert, ob ein Stack Unwinding in diesem Fall geschehen)
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.

2)

eine Ausnahme whrend der Ausnahmebehandlung (zB von einem destructor irgendeiner lokalen Objekt oder aus einer Funktion, die whrend Ausnahmebehandlung gerufen werden muss) geworfen
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.

3)

der Konstruktor oder Destruktor eines statischen oder lokalen Thread-Objekt lst eine Ausnahme
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.

4)

eine Funktion mit std::atexit registriert oder std::at_quick_exit eine Ausnahme ausgelst
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.

5)

a noexcept Spezifikation verletzt wird (es ist die Implementierung definiert, ob ein Stack Unwinding in diesem Fall geschehen)
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.

6)

a dynamischen Exception-Spezifikation verletzt wird und der Standard-Handler fr std::unexpected ausgefhrt wird
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.

7)

ein Nicht-Standard-Handler fr std::unexpected lst eine Ausnahme, die die zuvor verletzt dynamischen Exception-Spezifikation verletzt, wenn die Spezifikation nicht enthalten std::bad_exception
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.

8)

std::nested_exception::rethrow_nested fr ein Objekt, das nicht hlt, einen gefangenen Ausnahme aufgerufen
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.

9)

eine Ausnahme von der ersten Funktion std::thread geworfen
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.

10)

a joinable std::thread zerstrt 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.
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.


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.


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.

Rckgabewert

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

Ausnahmen

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

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) [edit]

Web Proxy Viewer  |  New URL  |  Original Page