
Module: Standard C++ Library Library: Language support
Header
The header <new> is part of the Language support library of the Standard C++ Library. It defines the classes bad_alloc and nothrow_t, the type new_handler, the function set_new_handler(), and several forms of operator new() and operator delete().
namespace std {
class bad_alloc;
struct nothrow_t {};
extern const nothrow_t nothrow;
typedef void (*new_handler)();
new_handler set_new_handler (new_handler new_p) throw ();
}
void* operator new (std::size_t) throw (std::bad_alloc);
void* operator new (std::size_t, const std::nothrow_t&)
throw ();
void operator delete (void*) throw ();
void operator delete (void*, const std::nothrow_t&) throw ();
void* operator new[](std::size_t) throw (std::bad_alloc);
void* operator new[](std::size_t, const std::nothrow_t&)
throw ();
void operator delete[](void*) throw ();
void operator delete[](void*, const std::nothrow_t&)
throw ();
void* operator new (std::size_t, void*) throw ();
void* operator new[](std::size_t, void*) throw ();
void operator delete (void*, void*) throw ();
void operator delete[](void*, void*) throw ();
bad_alloc, operator new, operator delete
ISO/IEC 14882:1998 -- International Standard for Information Systems --Programming Language C++, Section 18.4
Copyright (c) 1994-2006 Rogue Wave Software, a Quovadx Division.
Licensed under the Apache License, Version 2.0.
Contact Rogue Wave about documentation or support issues. You can also seek help from other developers through the Apache stdcxx community (see below).