The header new
defines several functions to manage dynamic memory and handling memory allocation errors; see http://gcc.gnu.org/onlinedocs/libstdc++/18_support/howto.html#4 for more.
Definition in file new.
Go to the source code of this file.
new
. More...void* operator new | ( | std::size_t | ) | throw (std::bad_alloc) |
These are replaceable signatures:
bad_alloc
on error)nothrow
single new and delete (take a nothrow
argument, return NULL
on error)nothrow
array new and delete (same)Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program.
Referenced by std::__valarray_get_memory().