std::unexpected — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Déclaré dans l'en-tête <exception> |
||
|
|
(obsolète) | |
std::unexpected() est appelé par le runtime C + + quand un spécification d'exception dynamique est violée: une exception est levée à partir d'une fonction dont la spécification interdit sauf exceptions de ce type .
Original:
std::unexpected() is called by the C++ runtime when a spécification d'exception dynamique is violated: an exception is thrown from a function whose exception specification forbids exceptions of this type.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::unexpected() peuvent également être appelés directement à partir du programme .
Original:
std::unexpected() may also be called directly from the program.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Dans les deux cas, std::unexpected appelle le std::unexpected_handler actuellement installé. Le défaut std::unexpected_handler appels std::terminate .
Original:
In either case, std::unexpected calls the currently installed std::unexpected_handler. The default std::unexpected_handler calls std::terminate.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
(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.
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.
Exceptions
Voir aussi
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. (typedef) [edit] | |