std::set_unexpected
De cppreference.com
![]() | Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <exception> | ||
std::unexpected_handler set_unexpected(std::unexpected_handler f ) | ||
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.
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.
You can help to correct and verify the translation. Click here for instructions.
[editar]Excepciones
[editar]Ver también
(en desuso) | Función llamada cuando la especificación de excepciones dinámica es violada. (función) |
(C++11)(en desuso) | Obtiene el controlador no esperado (unexpected_handler) actual. (función) |
(en desuso) | El tipo de la función llamada por std::unexpected. (typedef) |