std::terminate_handler
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <exception>
|
||
typedef void (*terminate_handler)(); |
||
std::terminate_handler
es el tipo de puntero de función (puntero a una función que no tiene argumentos y devuelve void), que se instala y se preguntó por las funciones std::set_terminate y std::get_terminate y llamado por std::terminate .Original:
std::terminate_handler
is the function pointer type (pointer to function that takes no arguments and returns void), which is installed and queried by the functions std::set_terminate and std::get_terminate and called by std::terminate.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.
La implementación en C + + proporciona una función predeterminada
std::terminate_handler
, que llama std::abort(). Si el valor de puntero nulo se instala (por medio de std::set_terminate), la aplicación puede restaurar el controlador predeterminado en lugar .Original:
The C++ implementation provides a default
std::terminate_handler
function, which calls std::abort(). If the null pointer value is installed (by means of std::set_terminate), the implementation may restore the default handler instead.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] Ver también
función llamada cuando falla el control de excepciones Original: function called when exception handling fails The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
cambios en la función a ser llamada por std::terminate Original: changes the function to be called by std::terminate The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
(C++11) |
obtiene el terminate_handler actual Original: obtains the current terminate_handler The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |