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;
95 #if __cplusplus >= 201103L
102 void terminate() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__noreturn__));
107 #if __cplusplus >= 201103L
114 void unexpected() __attribute__ ((__noreturn__));
134 _GLIBCXX_BEGIN_NAMESPACE_VERSION
154 _GLIBCXX_END_NAMESPACE_VERSION
159 #pragma GCC visibility pop
161 #if (__cplusplus >= 201103L) && (ATOMIC_INT_LOCK_FREE > 1)
unexpected_handler get_unexpected() noexcept
Return the current unexpected handler.
virtual const char * what() const noexcept
Base class for all library exceptions.
bool uncaught_exception() noexcept __attribute__((__pure__))
void(* terminate_handler)()
If you write a replacement terminate handler, it must be of this type.
virtual const char * what() const noexcept
void unexpected() __attribute__((__noreturn__))
void terminate() noexcept __attribute__((__noreturn__))
void(* unexpected_handler)()
If you write a replacement unexpected handler, it must be of this type.
unexpected_handler set_unexpected(unexpected_handler) noexcept
Takes a new handler function as an argument, returns the old function.
terminate_handler set_terminate(terminate_handler) noexcept
Takes a new handler function as an argument, returns the old function.
terminate_handler get_terminate() noexcept
Return the current terminate handler.
void __verbose_terminate_handler()
A replacement for the standard terminate_handler which prints more information about the terminating ...