◐ Shell
clean mode source ↗

std::terminate_handler – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

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.

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.

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

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

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