Listing 3 Memory management support functions in <new>

// Scalar versions
void *operator new(size_t);
void operator delete(void *);

// Array versions
void *operator new[](size_t);
void operator delete[](void *);

// Placement new
void *operator new(size_t, void *);
void *operator new[](size_t, void *);

// Out-of-memory handling
typedef void (*new_handler)();
new_handler set_new_handler(new_handler);
// End of File