std::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>| Dclar dans l'en-tte <exception>
|
||
[[noreturn]] void unexpected(); |
(obsolte) | |
std::unexpected() est appel par le runtime C + + quand un spcification d'exception dynamique est viole: une exception est leve partir d'une fonction dont la spcification interdit sauf exceptions de ce type .Original:
std::unexpected() is called by the C++ runtime when a spcification 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.
You can help to correct and verify the translation. Click here for instructions.
std::unexpected() peuvent galement tre appels 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.
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 dfaut 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.
You can help to correct and verify the translation. Click here for instructions.
Paramtres
(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.
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
Voir aussi
(obsolte) |
le type de la fonction appele 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) |