#include <cstddef>
#include <exception>
Include dependency graph for new:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | std |
Typedefs | |
typedef void(* | new_handler )() |
Functions | |
new_handler | set_new_handler (new_handler) throw () |
Takes a replacement handler as the argument, returns the previous handler. | |
void * | operator new (std::size_t) throw (std::bad_alloc) |
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.
|
If you write your own error handler to be called by |
|
These are replaceable signatures:
Placement new and delete signatures (take a memory address argument, does nothing) may not be replaced by a user's program. |
|
Takes a replacement handler as the argument, returns the previous handler.
|