◐ Shell
clean mode source ↗

std::terminate_handler - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<exception>

typedef void (*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.

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.

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) [edit]

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) [edit]

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) [edit]