Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Exception container that preserves the exact copy of the original exception. More...
#include <tbb_exception.h>
Public Member Functions | |
void | destroy () throw () |
Destroys this objects. More... | |
void | throw_self () |
Throws the contained exception . More... | |
Static Public Member Functions | |
static tbb_exception_ptr * | allocate () |
static tbb_exception_ptr * | allocate (const tbb_exception &tag) |
static tbb_exception_ptr * | allocate (captured_exception &src) |
This overload uses move semantics (i.e. it empties src) More... | |
Private Member Functions | |
tbb_exception_ptr (const std::exception_ptr &src) | |
tbb_exception_ptr (const captured_exception &src) | |
Private Attributes | |
std::exception_ptr | my_ptr |
Exception container that preserves the exact copy of the original exception.
This class can be used only when the appropriate runtime support (mandated by C++11) is present
Definition at line 325 of file tbb_exception.h.
|
inlineprivate |
Definition at line 342 of file tbb_exception.h.
|
inlineprivate |
Definition at line 343 of file tbb_exception.h.
|
static |
|
static |
|
static |
This overload uses move semantics (i.e. it empties src)
void tbb::internal::tbb_exception_ptr::destroy | ( | ) | ||
throw | ( | |||
) |
Destroys this objects.
Note that objects of this type can be created only by the allocate() method.
|
inline |
|
private |
Definition at line 326 of file tbb_exception.h.
Referenced by throw_self().