◐ Shell
clean mode source ↗

std::unexpected - cppreference.com

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<exception>

[[noreturn]] void unexpected();

(deprecato)

std::unexpected() viene chiamato dal runtime C + + quando un eccezione specificazione dinamica viene violata: viene generata un'eccezione da una funzione il cui un'eccezione specifica vieta eccezioni di questo tipo.

Original:

std::unexpected() is called by the C++ runtime when a eccezione specificazione dinamica 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() può anche essere chiamato direttamente dal programma.

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.

In entrambi i casi, std::unexpected chiama il std::unexpected_handler attualmente installato. Il predefinite std::unexpected_handler chiamate 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.

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.

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.

Eccezioni

Vedi anche

il tipo di funzione chiamata da 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) [modifica]