std::set_unexpected
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>| Déclaré dans l'en-tête <exception>
|
||
std::unexpected_handler set_unexpected( std::unexpected_handler f ) |
||
Fait
f la std::unexpected_handler nouvelle donne mondiale et renvoie le std::unexpected_handler déjà installé .Original:
Makes
f the new global std::unexpected_handler and returns the previously installed std::unexpected_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.
Paramètres
| f | - | un pointeur de fonction de std::unexpected_handler type, ou un pointeur NULL
Original: pointer to function of type std::unexpected_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
Le gestionnaire installé précédemment inattendu, ou une valeur de pointeur null si aucune n'a été installé .
Original:
The previously-installed unexpected 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
(obsolète) |
la fonction appelée lorsque spécification d'exception dynamique est violé Original: function called when dynamic exception specification is violated 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) (obsolète) |
obtient la unexpected_handler courant Original: obtains the current unexpected_handler The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) |
(obsolète) |
le type de la fonction appelée par std::unexpected Original: the type of the function called by std::unexpected The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |