std::terminate_handler
Da 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. |
Definido no cabeçalho <exception> | ||
typedefvoid(*terminate_handler)(); | ||
std::terminate_handler
é o tipo de ponteiro de função (ponteiro para função que não recebe argumentos e retorna void), que está instalado e consultado pelas funções std::set_terminate e std::get_terminate e chamado 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.
A implementação C + + fornece um padrão
std::terminate_handler
função, que exige std::abort(). Se o valor do ponteiro nulo é instalado (por meio de std::set_terminate), a implementação pode restaurar o manipulador padrão em vez.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]Veja também
função chamada quando o tratamento de exceção falha 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. (função) | |
alterações da função a ser chamado 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. (função) | |
(C++11) | obtém o 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. (função) |