37 #pragma GCC system_header 42 #pragma GCC visibility push(default) 64 virtual const char*
what()
const throw();
67 #if __cplusplus >= 201103L 68 class bad_array_new_length :
public bad_alloc 71 bad_array_new_length()
throw() { };
75 virtual ~bad_array_new_length()
throw();
78 virtual const char*
what()
const throw();
84 #if __cplusplus >= 201103L 85 explicit nothrow_t() =
default;
89 extern const nothrow_t nothrow;
99 #if __cplusplus >= 201103L 117 __attribute__((__externally_visible__));
119 __attribute__((__externally_visible__));
120 void operator delete(
void*) _GLIBCXX_USE_NOEXCEPT
121 __attribute__((__externally_visible__));
122 void operator delete[](
void*) _GLIBCXX_USE_NOEXCEPT
123 __attribute__((__externally_visible__));
124 #if __cpp_sized_deallocation 125 void operator delete(
void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
126 __attribute__((__externally_visible__));
127 void operator delete[](
void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
128 __attribute__((__externally_visible__));
130 void*
operator new(std::size_t,
const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
131 __attribute__((__externally_visible__));
132 void*
operator new[](std::size_t,
const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
133 __attribute__((__externally_visible__));
134 void operator delete(
void*,
const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
135 __attribute__((__externally_visible__));
136 void operator delete[](
void*,
const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
137 __attribute__((__externally_visible__));
138 #if __cpp_sized_deallocation 139 void operator delete(
void*, std::size_t,
const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
140 __attribute__((__externally_visible__));
141 void operator delete[](
void*, std::size_t,
const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
142 __attribute__((__externally_visible__));
146 inline void*
operator new(std::size_t,
void* __p) _GLIBCXX_USE_NOEXCEPT
148 inline void*
operator new[](std::size_t,
void* __p) _GLIBCXX_USE_NOEXCEPT
152 inline void operator delete (
void*,
void*) _GLIBCXX_USE_NOEXCEPT { }
153 inline void operator delete[](
void*,
void*) _GLIBCXX_USE_NOEXCEPT { }
157 #pragma GCC visibility pop Base class for all library exceptions.
new_handler get_new_handler() noexcept
Return the current new handler.
new_handler set_new_handler(new_handler)
Takes a replacement handler as the argument, returns the previous handler.
Exception possibly thrown by new.bad_alloc (or classes derived from it) is used to report allocation ...
virtual const char * what() const
ISO C++ entities toplevel namespace is std.