33 #ifndef _GLIBCXX_STDEXCEPT
34 #define _GLIBCXX_STDEXCEPT 1
36 #pragma GCC system_header
41 namespace std _GLIBCXX_VISIBILITY(default)
43 _GLIBCXX_BEGIN_NAMESPACE_VERSION
45 #if _GLIBCXX_USE_DUAL_ABI
46 #if _GLIBCXX_USE_CXX11_ABI
52 char _M_bytes[
sizeof(
const char*)];
57 __cow_string(
const char*,
size_t);
58 __cow_string(
const __cow_string&) _GLIBCXX_USE_NOEXCEPT;
59 __cow_string& operator=(const __cow_string&) _GLIBCXX_USE_NOEXCEPT;
61 #if __cplusplus >= 201103L
62 __cow_string(__cow_string&&) noexcept;
63 __cow_string& operator=(__cow_string&&) noexcept;
67 typedef basic_string<char> __sso_string;
68 #else // _GLIBCXX_USE_CXX11_ABI
69 typedef basic_string<char> __cow_string;
77 size_t _M_string_length;
78 char _M_local_buf[16];
83 char _M_bytes[
sizeof(__str)];
86 __sso_string() _GLIBCXX_USE_NOEXCEPT;
87 __sso_string(const std::
string&);
88 __sso_string(const
char*,
size_t);
89 __sso_string(const __sso_string&);
90 __sso_string& operator=(const __sso_string&);
92 #if __cplusplus >= 201103L
93 __sso_string(__sso_string&&) noexcept;
94 __sso_string& operator=(__sso_string&&) noexcept;
97 #endif // _GLIBCXX_USE_CXX11_ABI
98 #else // _GLIBCXX_USE_DUAL_ABI
99 typedef basic_string<char> __sso_string;
100 typedef basic_string<char> __cow_string;
122 #if __cplusplus >= 201103L
127 #if _GLIBCXX_USE_CXX11_ABI || _GLIBCXX_DEFINE_STDEXCEPT_COPY_OPS
137 what()
const _GLIBCXX_USE_NOEXCEPT;
146 #if __cplusplus >= 201103L
157 #if __cplusplus >= 201103L
169 #if __cplusplus >= 201103L
181 #if __cplusplus >= 201103L
201 #if __cplusplus >= 201103L
206 #if _GLIBCXX_USE_CXX11_ABI || _GLIBCXX_DEFINE_STDEXCEPT_COPY_OPS
216 what()
const _GLIBCXX_USE_NOEXCEPT;
224 #if __cplusplus >= 201103L
235 #if __cplusplus >= 201103L
246 #if __cplusplus >= 201103L
254 _GLIBCXX_END_NAMESPACE_VERSION
logic_error(const string &__arg)
virtual const char * what() const noexcept
runtime_error(const string &__arg)
One of two subclasses of exception.
Base class for all library exceptions.
virtual const char * what() const noexcept
One of two subclasses of exception.