std::set_terminate - 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. |
<metanoindex/>
<tbody> </tbody>
| Elemento definito nell'header <exception> |
||
|
|
||
Rende f la nuova funzione di gestore globale terminare e restituisce il std::terminate_handler installato in precedenza.
Original:
Makes f the new global terminate handler function and returns the previously installed std::terminate_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::terminate_handler, o puntatore nullo Original: pointer to function of type std::terminate_handler, or null pointer The text has been machine-translated via Google Translate. |
Valore di ritorno
Il precedentemente installato terminare gestore, o un valore del puntatore null se non è stato installato.
Original:
The previously-installed terminate 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
funzione chiamata quando la gestione delle eccezioni non riesce Original: function called when exception handling fails The text has been machine-translated via Google Translate. (funzione) [modifica] | |
(C++11) |
ottiene il terminate_handler corrente Original: obtains the current terminate_handler The text has been machine-translated via Google Translate. (funzione) [modifica] |
il tipo di funzione chiamata da std::terminate Original: the type of the function called by std::terminate The text has been machine-translated via Google Translate. (typedef) [modifica] | |