◐ Shell
clean mode source ↗

std::make_exception_ptr – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<exception>

template< class E > std::exception_ptr make_exception_ptr( E e )

(seit C++11)

Erstellt eine std::exception_ptr, die einen Verweis hält an einer Kopie des e, als ob durch die Ausführung

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(); }

Parameter

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

Eine Instanz std::exception_ptr die eine Referenz auf die Kopie des e oder auf eine Instanz std::bad_alloc oder auf eine Instanz std::bad_exception (siehe 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.

Ausnahmen

Siehe auch