std::set_terminate
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>
|
||
std::terminate_handler set_terminate( std::terminate_handler f ) |
||
Faz
f
a função de tratamento global nova terminar e retorna o std::terminate_handler instalado anteriormente.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.
Índice |
[editar] Parâmetros
f | - | ponteiro para função de std::terminate_handler tipo ou ponteiro 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
O instalada anteriormente terminar manipulador, ou um valor de ponteiro nulo se nenhum foi 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] Exceções
[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) | |
(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) |
o tipo da função de chamada por std::terminate Original: the type of the function 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. (typedef) |