37 #pragma GCC system_header
42 #pragma GCC visibility push(default)
64 virtual const char*
what()
const throw();
69 extern const nothrow_t nothrow;
91 void* operator new(std::
size_t) _GLIBCXX_THROW (std::
bad_alloc)
92 __attribute__((__externally_visible__));
93 void* operator new[](std::
size_t) _GLIBCXX_THROW (std::
bad_alloc)
94 __attribute__((__externally_visible__));
95 void operator delete(
void*) _GLIBCXX_USE_NOEXCEPT
96 __attribute__((__externally_visible__));
97 void operator delete[](
void*) _GLIBCXX_USE_NOEXCEPT
98 __attribute__((__externally_visible__));
99 void* operator new(std::
size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
100 __attribute__((__externally_visible__));
101 void* operator new[](std::
size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
102 __attribute__((__externally_visible__));
103 void operator delete(
void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
104 __attribute__((__externally_visible__));
105 void operator delete[](
void*, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
106 __attribute__((__externally_visible__));
109 inline
void* operator new(std::
size_t,
void* __p) _GLIBCXX_USE_NOEXCEPT
111 inline void*
operator new[](std::size_t,
void* __p) _GLIBCXX_USE_NOEXCEPT
115 inline void operator delete (
void*,
void*) _GLIBCXX_USE_NOEXCEPT { }
116 inline void operator delete[](
void*,
void*) _GLIBCXX_USE_NOEXCEPT { }
120 #pragma GCC visibility pop
Exception possibly thrown by new.bad_alloc (or classes derived from it) is used to report allocation ...
new_handler set_new_handler(new_handler)
Takes a replacement handler as the argument, returns the previous handler.
Base class for all library exceptions.
virtual const char * what() const