std::set_unexpected
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::unexpected_handler set_unexpected( std::unexpected_handler f ) |
||
Faz
f
o std::unexpected_handler novo global e retorna o std::unexpected_handler instalado anteriormente.Original:
Makes
f
the new global std::unexpected_handler and returns the previously installed std::unexpected_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::unexpected_handler tipo ou ponteiro nulo
Original: pointer to function of type std::unexpected_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 manipulador instalada anteriormente inesperada, ou um valor de ponteiro nulo se nenhum foi instalado.
Original:
The previously-installed unexpected 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
(obsoleta) |
função chamada quando especificação de exceção dinâmica é violada Original: function called when dynamic exception specification is violated 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)(obsoleta) |
obtém o unexpected_handler actual Original: obtains the current unexpected_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) |
(obsoleta) |
o tipo da função de chamada por std::unexpected Original: the type of the function called by std::unexpected The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |