std::make_exception_ptr - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Definido no cabeçalho <exception> |
||
|
|
(desde C++11) | |
Cria um std::exception_ptr que contém uma referência a uma cópia do e, como se por execução
Original:
Creates an std::exception_ptr that holds a reference to a copy of e, as if by executing
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
try { throw e; } catch(...) { return std::current_exception(); }
Parâmetros
(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Valor de retorno
Uma instância de std::exception_ptr mantendo uma referência à cópia do e, ou a uma instância do std::bad_alloc ou a uma instância do std::bad_exception (ver std::current_exception).
Original:
An instance of std::exception_ptr holding a reference to the copy of e, or to an instance of std::bad_alloc or to an instance of std::bad_exception (see std::current_exception).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.