std::quick_exit
De cppreference.com
[] |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Dclar dans l'en-tte <cstdlib>
|
||
[[noreturn]] void quick_exit( int exit_code ); |
(depuis C++11) | |
Provoque l'arrt normal du programme sans compltement nettoyer les ressources.
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.
You can help to correct and verify the translation. Click here for instructions.
Les fonctions passes std::at_quick_exit sont appels dans l'ordre inverse de leur enregistrement. Si une exception tente de se propager sur toute de la fonction, std::terminate est appele. Aprs avoir appel les fonctions enregistres, appelle
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.
You can help to correct and verify the translation. Click here for instructions.
Paramtres
| exit_code | - | quitter l'tat du programme
Original: exit status of the program The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
Exemple
| This section is incomplete Reason: no example |
Voir aussi
provoque la terminaison anormale du programme (sans nettoyage) Original: causes abnormal program termination (without cleaning up) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) | |
enregistre une fonction qui sera appele lors de son invocation exit() Original: registers a function to be called on exit() invocation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) | |
(C++11) |
enregistre une fonction qui sera appele lors de son invocation quick_exit Original: registers a function to be called on quick_exit invocation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) |
C documentation for quick_exit
| |