◐ Shell
clean mode source ↗

std::terminate_handler - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Definido en el archivo de encabezado <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.

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.

Ver también