cpp/error/unexpected : Différence entre versions
De cppreference.com
P12 (discuter | contributions) m (1 version : Translate from the English version) |
m (r2.7.3) (robot Ajoute : de, en, es, it, ja, pt, ru, zh) |
||
Ligne 26 : | Ligne 26 : | ||
{{dcl list template | cpp/error/dcl list unexpected_handler}} | {{dcl list template | cpp/error/dcl list unexpected_handler}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Version du 2 novembre 2012 à 14:46
![]() |
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. |
Déclaré dans l'en-tête <exception>
|
||
[[noreturn]] void unexpected(); |
(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.
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.
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.
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
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.
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.