new header

From Cppwiki

Jump to: navigation, search

new is a C++ Standard Library #include. It is responsible for defining std::bad_alloc, declaring the standard forms of operator new and other related functionality.

== Types defined by <new>

   std::bad_alloc -- exception type thrown to indicate failure of operator new
   std::nothrow_t -- A type with no functionality of its own, an instance of std::nothrow_t is used to indicate the nothrow forms of operator new

Operators defined by new

Other functions defined by <new>

== Objects declared by <new>

       std::nothrow_t nothrow;
Personal tools