std::quick_exit - 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 <cstdlib> |
||
|
|
(dal C++11) | |
Provoca terminazione normale programma a verificarsi senza completamente la pulizia delle risorse.
Original:
Causes normal program termination to occur without completely cleaning the resources.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funzioni passato a std::at_quick_exit vengono chiamati in ordine inverso rispetto alla loro registrazione. Se un'eccezione tenta di propagare su qualsiasi della funzione, std::terminate viene chiamato. Dopo aver chiamato le funzioni registrate, chiama std::_Exit(exit_code)
Original:
Functions passed to std::at_quick_exit are called in reverse order of their registration. If an exception tries to propagate out of any of the function, std::terminate is called. After calling the registered functions, calls std::_Exit(exit_code)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parametri
| exit_code | - | uscita di stato del programma Original: exit status of the program The text has been machine-translated via Google Translate. |
Valore di ritorno
(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Eccezioni
Esempio
Vedi anche
causa chiusura anomala del programma (senza pulizia) Original: causes abnormal program termination (without cleaning up) The text has been machine-translated via Google Translate. (funzione) [modifica] | |
registra una funzione di essere chiamato invocazione exit()Original: The text has been machine-translated via Google Translate. (funzione) [modifica] | |
(C++11) |
registra una funzione di essere chiamato invocazione quick_exitOriginal: The text has been machine-translated via Google Translate. (funzione) [modifica] |
C documentation for quick_exit | |