33 #pragma GCC system_header
35 #pragma GCC visibility push(default)
60 virtual ~
bad_exception() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
64 what()
const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
73 #if __cplusplus >= 201103L
80 void terminate() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__noreturn__));
82 #if __cplusplus < 201703L || (__cplusplus <= 202002L && _GLIBCXX_USE_DEPRECATED)
93 #if __cplusplus >= 201103L
108 _GLIBCXX11_DEPRECATED
109 void unexpected() __attribute__ ((__noreturn__));
123 _GLIBCXX17_DEPRECATED_SUGGEST(
"std::uncaught_exceptions()")
126 #if __cplusplus >= 201703L || !defined(__STRICT_ANSI__) // c++17 or gnu++98
127 #define __cpp_lib_uncaught_exceptions 201411L
140 _GLIBCXX_BEGIN_NAMESPACE_VERSION
160 _GLIBCXX_END_NAMESPACE_VERSION
165 #pragma GCC visibility pop
167 #if (__cplusplus >= 201103L)
unexpected_handler set_unexpected(unexpected_handler) noexcept
unexpected_handler get_unexpected() noexcept
int uncaught_exceptions() noexcept
Base class for all library exceptions.
void __verbose_terminate_handler()
A replacement for the standard terminate_handler which prints more information about the terminating ...
bool uncaught_exception() noexcept
void(* terminate_handler)()
If you write a replacement terminate handler, it must be of this type.
virtual const char * what() const noexcept
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 terminate() noexcept
void(* unexpected_handler)()
If you write a replacement unexpected handler, it must be of this type.