33 #ifdef _GLIBCXX_SYSHDR
34 #pragma GCC system_header
40 #define __glibcxx_want_uncaught_exceptions
41 #define __glibcxx_want_constexpr_exceptions
42 #define __glibcxx_want_exception_ptr_cast
47 namespace std _GLIBCXX_VISIBILITY(default)
61 _GLIBCXX26_CONSTEXPR
bad_exception() _GLIBCXX_USE_NOEXCEPT { }
63 #if __cplusplus >= 202400L
64 [[__gnu__::__gnu_inline__]]
65 constexpr
inline virtual ~
bad_exception() _GLIBCXX_TXN_SAFE_DYN noexcept {}
67 [[__gnu__::__gnu_inline__]]
68 constexpr
inline virtual const char*
what()
const _GLIBCXX_TXN_SAFE_DYN
71 return "std::bad_exception";
76 virtual ~
bad_exception() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
80 what()
const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
90 #if __cplusplus >= 201103L
97 void terminate() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__noreturn__,__cold__));
99 #if __cplusplus < 201703L || (__cplusplus <= 202002L && _GLIBCXX_USE_DEPRECATED)
107 _GLIBCXX11_DEPRECATED
110 #if __cplusplus >= 201103L
116 _GLIBCXX11_DEPRECATED
125 _GLIBCXX11_DEPRECATED
126 void unexpected() __attribute__ ((__noreturn__,__cold__));
140 _GLIBCXX17_DEPRECATED_SUGGEST(
"std::uncaught_exceptions()")
143 #ifdef __cpp_lib_uncaught_exceptions // C++ >= 17 || GNU++ >= 03
148 int uncaught_exceptions() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
154 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
156 _GLIBCXX_BEGIN_NAMESPACE_VERSION
176 _GLIBCXX_END_NAMESPACE_VERSION
181 #if __cplusplus >= 201103L