Espacios de nombres
Variantes

std::set_terminate

De cppreference.com
 
 
Biblioteca de servicios
 
 
<tbody> </tbody>
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.

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.

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.

Excepciones

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

Ver también

Función llamada cuando falla el control de excepciones.
(función) [editar]
Obtiene el controlador de terminación terminate_handler) actual.
(función) [editar]
El tipo de la función llamada por std::terminate.
(typedef) [editar]