32 #define __EXCEPTION_H 1 34 #ifdef _GLIBCXX_SYSHDR 35 #pragma GCC system_header 42 namespace std _GLIBCXX_VISIBILITY(default)
64 _GLIBCXX26_CONSTEXPR
exception() _GLIBCXX_NOTHROW { }
65 #if __cplusplus >= 202400L 66 [[__gnu__::__gnu_inline__]]
67 constexpr
inline virtual ~
exception() _GLIBCXX_TXN_SAFE_DYN noexcept {}
69 virtual ~
exception() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW;
71 #if __cplusplus >= 201103L 80 #if __cplusplus >= 202400L 81 [[__gnu__::__gnu_inline__]]
82 constexpr
inline virtual const char*
83 what()
const _GLIBCXX_TXN_SAFE_DYN noexcept {
return "std::exception"; }
86 what()
const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW;
virtual const char * what() const noexcept
ISO C++ entities toplevel namespace is std.
Base class for all library exceptions.