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) throw (std::
bad_alloc);
92 void* operator new[](std::
size_t) throw (std::bad_alloc);
93 void operator delete(
void*) throw();
94 void operator delete[](
void*) throw();
95 void* operator new(std::
size_t, const std::nothrow_t&) throw();
96 void* operator new[](std::
size_t, const std::nothrow_t&) throw();
97 void operator delete(
void*, const std::nothrow_t&) throw();
98 void operator delete[](
void*, const std::nothrow_t&) throw();
101 inline
void* operator new(std::
size_t,
void* __p) throw() {
return __p; }
102 inline void*
operator new[](std::size_t,
void* __p)
throw() {
return __p; }
105 inline void operator delete (
void*,
void*)
throw() { }
106 inline void operator delete[](
void*,
void*)
throw() { }
110 #pragma GCC visibility pop
new_handler set_new_handler(new_handler)
Takes a replacement handler as the argument, returns the previous handler.
virtual const char * what() const
Exception possibly thrown by new.bad_alloc (or classes derived from it) is used to report allocation ...
Base class for all library exceptions.