std::terminate
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. |
Déclaré dans l'en-tête <exception> | ||
[[noreturn]]void terminate(); | ||
std::terminate()
est appelé par le runtime C + + lors de la manipulation exception échoue pour une des raisons suivantes:Original:
std::terminate()
is called by the C++ runtime when exception handling fails for any of the following reasons: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.
une exception est levée et non pris (il est défini par l'implémentation si une pile déroulement se fait dans ce cas)
2) Original:
an exception is thrown and not caught (it is implementation-defined whether any stack unwinding is done in this case)
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.
une exception est levée lors de la gestion des exceptions (par exemple, depuis un destructeur d'un objet local, ou d'une fonction qui devait être appelée lors de la gestion des exceptions)
3) Original:
an exception is thrown during exception handling (e.g. from a destructor of some local object, or from a function that had to be called during exception handling)
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.
le constructeur ou le destructeur d'un objet statique ou locale au thread lève une exception
4) Original:
the constructor or the destructor of a static or thread-local object throws an exception
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.
une fonction enregistrée avec std::atexit ou std::at_quick_exit lève une exception
5) Original:
a function registered with std::atexit or std::at_quick_exit throws an exception
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.
un noexcept spécification est violée (il est défini par l'implémentation si une pile déroulement se fait dans ce cas)
6) Original:
a noexcept spécification is violated (it is implementation-defined whether any stack unwinding is done in this case)
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.
un spécification d'exception dynamique est violée et le gestionnaire par défaut pour std::unexpected est exécutée
7) Original:
a spécification d'exception dynamique is violated and the default handler for std::unexpected is executed
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.
un gestionnaire par défaut pour non-std::unexpected lève une exception qui viole la spécification d'exception déjà enfreint dynamique, si la spécification ne comprennent std::bad_exception
8) Original:
a non-default handler for std::unexpected throws an exception that violates the previously violated dynamic exception specification, if the specification does not include std::bad_exception
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::nested_exception::rethrow_nested est appelée pour un objet qui ne tient pas une exception capturée
9) Original:
std::nested_exception::rethrow_nested is called for an object that isn't holding a captured exception
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.
une exception est levée à partir de la fonction initiale de std::thread
10) Original:
an exception is thrown from the initial function of std::thread
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.
un std::thread juxtaposable est détruite ou affectée
Original:
a joinable std::thread is destroyed or assigned to
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::terminate()
peuvent également être appelés directement à partir du programme .Original:
std::terminate()
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 tous les cas,
std::terminate
appelle le std::terminate_handler actuellement installé. Le défaut std::terminate_handler appels std::abort .Original:
In any case,
std::terminate
calls the currently installed std::terminate_handler. The default std::terminate_handler calls std::abort.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 |
[modifier]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.
[modifier]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.
[modifier]Exceptions
[modifier]Voir aussi
le type de la fonction appelée par std::terminate Original: the type of the function 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. (typedef) |