Espacios de nombres
Variantes
Acciones

std::set_unexpected

De cppreference.com
< cpp‎ | error
 
 
Biblioteca de servicios
 
 
Definido en el archivo de encabezado <exception>
Hace f la std::unexpected_handler mundial nueva y devuelve el std::unexpected_handler previamente instalado .
Original:
Makes f the new global std::unexpected_handler and returns the previously installed std::unexpected_handler.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar]Parámetros

f -
puntero a la función de std::unexpected_handler tipo, o un puntero nulo
Original:
pointer to function of type std::unexpected_handler, or null pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Valor de retorno

El controlador instalado previamente inesperado, o un valor de puntero nulo si no se ha instalado .
Original:
The previously-installed unexpected handler, or a null pointer value if none was installed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Excepciones

Especificación noexcept:  
noexcept
  (desde C++11)

[editar]Ver también

(en desuso)
Función llamada cuando la especificación de excepciones dinámica es violada.
(función)[editar]
(C++11)(en desuso)
Obtiene el controlador no esperado (unexpected_handler) actual.
(función)[editar]
El tipo de la función llamada por std::unexpected.
(typedef)[editar]
close