33 #pragma GCC system_header
35 #pragma GCC visibility push(default)
64 virtual ~
exception() _GLIBCXX_USE_NOEXCEPT;
68 virtual const char*
what()
const _GLIBCXX_USE_NOEXCEPT;
83 virtual const char*
what()
const _GLIBCXX_USE_NOEXCEPT;
97 void terminate() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__noreturn__));
104 void unexpected() __attribute__ ((__noreturn__));
124 _GLIBCXX_BEGIN_NAMESPACE_VERSION
144 _GLIBCXX_END_NAMESPACE_VERSION
149 #pragma GCC visibility pop
151 #if (__cplusplus >= 201103L) && (ATOMIC_INT_LOCK_FREE > 1)
bool uncaught_exception() noexcept __attribute__((__pure__))
void unexpected() __attribute__((__noreturn__))
virtual const char * what() const noexcept
void(* terminate_handler)()
If you write a replacement terminate handler, it must be of this type.
Base class for all library exceptions.
void terminate() noexcept __attribute__((__noreturn__))
virtual const char * what() const noexcept
void __verbose_terminate_handler()
A replacement for the standard terminate_handler which prints more information about the terminating ...
void(* unexpected_handler)()
If you write a replacement unexpected handler, it must be of this type.
terminate_handler set_terminate(terminate_handler) noexcept
Takes a new handler function as an argument, returns the old function.
unexpected_handler set_unexpected(unexpected_handler) noexcept
Takes a new handler function as an argument, returns the old function.