std::set_terminate
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::terminate_handler set_terminate( std::terminate_handler f ) |
||
Hace
f
la función de controlador de nuevo terminar mundial y devuelve el std::terminate_handler previamente instalado .Original:
Makes
f
the new global terminate handler function and returns the previously installed std::terminate_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::terminate_handler tipo, o un puntero nulo
Original: pointer to function of type std::terminate_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 previamente instalados terminar controlador, o un valor de puntero nulo si no se ha instalado .
Original:
The previously-installed terminate 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
Función llamada cuando falla el control de excepciones. (función) | |
(C++11) |
Obtiene el controlador de terminación terminate_handler) actual. (función) |
El tipo de la función llamada por std::terminate. (typedef) |