std::set_terminate
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 <exception>
|
||
std::terminate_handler set_terminate( std::terminate_handler f ) |
||
Fait
f la fonction de gestionnaire nouvelle donne mondiale termine, et renvoie la std::terminate_handler dj install .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.
You can help to correct and verify the translation. Click here for instructions.
Paramtres
| f | - | un pointeur de fonction de std::terminate_handler type, ou un pointeur NULL
Original: pointer to function of type std::terminate_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. |
Retourne la valeur
L'prcdemment install fin gestionnaire, ou une valeur de pointeur null si aucune n'a t install .
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.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
Voir aussi
la fonction appele lorsque la gestion des exceptions choue Original: function called when exception handling fails 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) |
obtient la terminate_handler courant Original: obtains the current terminate_handler The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) |
le type de la fonction appele par std::terminate Original: the type of the function 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. (typedef) | |