std::terminate
Da cppreference.com.
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <exception> | ||
[[noreturn]]void terminate(); | ||
std::terminate()
viene chiamato dal runtime C + +, quando la gestione delle eccezioni non riesce per uno dei seguenti motivi: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.
viene generata un'eccezione e non preso (è definito dall'implementazione l'eventuale rimozione dello stack è fatto in questo caso)
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.
viene generata un'eccezione durante la gestione delle eccezioni (ad esempio, da un distruttore di un oggetto locale, o da una funzione che doveva essere chiamato durante la gestione delle eccezioni)
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.
il costruttore o il distruttore di un oggetto statico o locale del thread genera un'eccezione
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.
una funzione registrata con std::atexit o std::at_quick_exit genera un'eccezione
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 specifica è violato (che è l'implementazione definita l'eventuale rimozione dello stack è fatto in questo caso)
6) Original:
a noexcept specifica 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 eccezione specificazione dinamica viene violata e il gestore predefinito per std::unexpected viene eseguito
7) Original:
a eccezione specificazione dinamica 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.
una posizione non predefinita gestore per std::unexpected genera un'eccezione che viola la specifica precedentemente violato eccezione dinamica, se la specifica non std::bad_exception comprende
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 viene chiamato per un oggetto che non è in possesso di un'eccezione catturato
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.
viene generata un'eccezione dalla funzione iniziale di 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 unibili viene distrutto o assegnato
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()
può anche essere chiamato direttamente dal programma.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.
In ogni caso,
std::terminate
chiama il std::terminate_handler attualmente installato. Il predefinite std::terminate_handler chiamate 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.
Indice |
[modifica]Parametri
(Nessuno)
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.
[modifica]Valore di ritorno
(Nessuno)
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.
[modifica]Eccezioni
[modifica]Vedi anche
il tipo di funzione chiamata da 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) |