Espacios de nombres
Variantes

std::unexpected

De cppreference.com
 
 
Biblioteca de servicios
 
 
<tbody> </tbody>
Definido en el archivo de encabezado <exception>
[[noreturn]] void unexpected();
(en desuso)
std::unexpected() es llamado por el C + + tiempo de ejecución cuando se viola un especificación de excepciones dinámicas: se produce una excepción de una función cuyo excepción especificación prohíbe las excepciones de este tipo .
Original:
std::unexpected() is called by the C++ runtime when a especificación de excepciones dinámicas 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() también se puede llamar directamente desde el programa .
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.
En cualquier caso, la llama std::unexpected std::unexpected_handler instalado actualmente. El defecto std::unexpected_handler llamadas 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.

Parámetros

(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Excepciones

Especificación noexcept:  
<tbody> </tbody>
noexcept
  (desde C++11)

Ver también

El tipo de la función llamada por std::unexpected.
(typedef) [editar]