33 #pragma GCC system_header 35 #pragma GCC visibility push(default) 38 #if !(defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)) 66 virtual ~
exception() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
71 what()
const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
83 virtual ~
bad_exception() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
87 what()
const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
99 #if __cplusplus >= 201103L 106 void terminate() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__noreturn__));
111 #if __cplusplus >= 201103L 118 void unexpected() __attribute__ ((__noreturn__));
133 #if __cplusplus > 201402L || !defined(__STRICT_ANSI__) // c++1z or gnu++98 134 #define __cpp_lib_uncaught_exceptions 201411 144 _GLIBCXX_BEGIN_NAMESPACE_VERSION
164 _GLIBCXX_END_NAMESPACE_VERSION
169 #pragma GCC visibility pop 171 #if (__cplusplus >= 201103L) && ((ATOMIC_INT_LOCK_FREE > 1) || (defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP))) Base class for all library exceptions.
void unexpected() __attribute__((__noreturn__))
terminate_handler get_terminate() noexcept
Return the current terminate handler.
terminate_handler set_terminate(terminate_handler) noexcept
Takes a new handler function as an argument, returns the old function.
void(* unexpected_handler)()
If you write a replacement unexpected handler, it must be of this type.
unexpected_handler get_unexpected() noexcept
Return the current unexpected handler.
virtual const char * what() const _GLIBCXX_TXN_SAFE_DYN noexcept
void terminate() noexcept __attribute__((__noreturn__))
GNU extensions for public use.
int uncaught_exceptions() noexcept __attribute__((__pure__))
The number of uncaught exceptions.
ISO C++ entities toplevel namespace is std.
void(* terminate_handler)()
If you write a replacement terminate handler, it must be of this type.
bool uncaught_exception() noexcept __attribute__((__pure__))
void __verbose_terminate_handler()
A replacement for the standard terminate_handler which prints more information about the terminating ...
unexpected_handler set_unexpected(unexpected_handler) noexcept
Takes a new handler function as an argument, returns the old function.