◐ Shell
clean mode source ↗

std::set_unexpected - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<exception>

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

Rende f il nuovo std::unexpected_handler globale e restituisce il std::unexpected_handler installato in precedenza.

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.

Parametri

f -

puntatore a funzione di tipo std::unexpected_handler, o puntatore nullo

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.

Valore di ritorno

Il gestore precedentemente installato imprevisto, o un valore del puntatore null se non è stato installato.

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.

Eccezioni

Vedi anche

(deprecato)

funzione chiamata quando specifica eccezione dinamica è violata

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.


(funzione) [modifica]

(C++11)(deprecato)

ottiene il unexpected_handler corrente

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.


(funzione) [modifica]

il tipo di funzione chiamata da std::unexpected

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