◐ Shell
clean mode source ↗

std::set_unexpected – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<exception>

std::unexpected_handler set_unexpected( std::unexpected_handler f )

Macht f die neue globale std::unexpected_handler und gibt den zuvor installierten std::unexpected_handler .

Original:

Makes f the new global std::unexpected_handler and returns the previously installed std::unexpected_handler.

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

Parameter

f -

Zeiger vom Typ std::unexpected_handler oder Null-Zeiger funktionieren

Original:

pointer to function of type std::unexpected_handler, or null pointer

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

Rückgabewert

Die vorher installierten unerwartete Handler oder eine Null-Zeiger-Wert, wenn keiner installiert wurde .

Original:

The previously-installed unexpected handler, or a null pointer value if none was installed.

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

Ausnahmen

Siehe auch

(veraltet)

Funktion aufgerufen, wenn eine dynamische Exception-Spezifikation verletzt wird

Original:

function called when dynamic exception specification is violated

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


(Funktion) [edit]

(C++11)(veraltet)

erhält die aktuelle unexpected_handler

Original:

obtains the current unexpected_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]

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]