std::terminate_handler
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>
|
||
typedef void (*terminate_handler)(); |
||
std::terminate_handler
ist die Funktion Zeigertyp (Zeiger auf eine Funktion, die keine Argumente übernimmt und void zurückgibt), die installiert und wird durch die Funktionen abgefragt std::set_terminate und std::get_terminate und forderte von std::terminate .Original:
std::terminate_handler
is the function pointer type (pointer to function that takes no arguments and returns void), which is installed and queried by the functions std::set_terminate and std::get_terminate and 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.
You can help to correct and verify the translation. Click here for instructions.
Die C + +-Implementierung stellt eine Standard-
std::terminate_handler
Funktion, die std::abort() nennt. Wenn die Null-Zeiger-Wert wird installiert (mittels std::set_terminate) kann die Umsetzung des Standard-Handler statt wiederherzustellen .Original:
The C++ implementation provides a default
std::terminate_handler
function, which calls std::abort(). If the null pointer value is installed (by means of std::set_terminate), the implementation may restore the default handler instead.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] Siehe auch
Funktion aufgerufen, wenn Ausnahmebehandlung ausfällt Original: function called when exception handling fails The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
wird die Funktion durch std::terminate aufgerufen werden Original: changes the function to be 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. (Funktion) | |
(C++11) |
erhält die aktuelle terminate_handler Original: obtains the current terminate_handler The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |