std::terminate_handler
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>
|
||
typedef void (*terminate_handler)(); |
||
std::terminate_handler est le type pointeur de fonction (pointeur vers une fonction qui ne prend aucun argument et retournant void), qui est install et interrog par les fonctions std::set_terminate et std::get_terminate et appel par 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.
You can help to correct and verify the translation. Click here for instructions.
L'implmentation C + + fournit une fonction par dfaut
std::terminate_handler, qui appelle std::abort(). Si la valeur de pointeur null est install (par le biais de std::set_terminate), la mise en uvre peut restaurer le gestionnaire par dfaut la place .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.
You can help to correct and verify the translation. Click here for instructions.
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) | |
changements de la fonction d'tre appel par std::terminate Original: changes the function to be 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. (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) |