Classes and functions for reporting errors via exceptions.
◆ __rethrow_if_nested_cond
◆ __rethrow_if_nested_impl() [1/2]
template<typename _Ex >
__rethrow_if_nested_cond< _Ex > std::__rethrow_if_nested_impl |
( |
const _Ex * |
__ptr | ) |
|
|
inline |
◆ __rethrow_if_nested_impl() [2/2]
void std::__rethrow_if_nested_impl |
( |
const void * |
| ) |
|
|
inline |
◆ __throw_with_nested_impl() [1/2]
template<typename _Tp >
void std::__throw_with_nested_impl |
( |
_Tp && |
__t, |
|
|
false_type |
|
|
) |
| |
|
inline |
◆ __throw_with_nested_impl() [2/2]
template<typename _Tp >
void std::__throw_with_nested_impl |
( |
_Tp && |
__t, |
|
|
true_type |
|
|
) |
| |
|
inline |
◆ __verbose_terminate_handler()
void __gnu_cxx::__verbose_terminate_handler |
( |
| ) |
|
A replacement for the standard terminate_handler which prints more information about the terminating exception (if any) on stderr.
Call
void __verbose_terminate_handler()
A replacement for the standard terminate_handler which prints more information about the terminating ...
terminate_handler set_terminate(terminate_handler) noexcept
Takes a new handler function as an argument, returns the old function.
to use. For more info, see http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt02ch06s02.html
In 3.4 and later, this is on by default.
◆ current_exception()
Obtain an exception_ptr to the currently handled exception. If there is none, or the currently handled exception is foreign, return the null value.
◆ make_exception_ptr()
Obtain an exception_ptr pointing to a copy of the supplied object.
Definition at line 183 of file exception_ptr.h.
◆ rethrow_exception()
Throw the object pointed to by the exception_ptr.
◆ rethrow_if_nested()
template<typename _Ex >
void std::rethrow_if_nested |
( |
const _Ex & |
__ex | ) |
|
|
inline |
◆ throw_with_nested()
template<typename _Tp >
void std::throw_with_nested |
( |
_Tp && |
__t | ) |
|
|
inline |
If __t
is derived from nested_exception, throws __t
. Else, throws an implementation-defined object derived from both.
Definition at line 114 of file nested_exception.h.