Espacios de nombres
Variantes
Acciones

std::set_terminate

De cppreference.com
< cpp‎ | error
 
 
Biblioteca de servicios
 
Control de errores
Control de excepciones
Fallas del control de excepciones
set_terminate
(hasta C++17)
(hasta C++17)
(C++11)(hasta C++17)
(hasta C++17)
Códigos de error
Códigos de error
 
Definido en el archivo de encabezado <exception>
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.

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.

[editar] Excepciones

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

[editar] 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]