std::terminate_handler - 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> |
||
|
|
||
std::terminate_handler è il tipo di puntatore a funzione (puntatore a funzione che non accetta argomenti e restituisce void), che viene installato e interrogato dalle funzioni std::set_terminate e std::get_terminate e chiamato da 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.
Il C + + fornisce una implementazione di default funzione std::terminate_handler, che chiama std::abort(). Se il valore del puntatore nullo è installato (per mezzo di std::set_terminate), l'implementazione può ripristinare il gestore predefinito, invece.
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.
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] | |
cambia la funzione di essere chiamato da std::terminate Original: changes the function to be called by std::terminate 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] |