operator new

Dynamically allocates signable objects.

  void* operator new (std::size_t size) throw(std::bad_alloc);
  void* operator new (std::size_t size,
  

const std::nothrow_t&)throw();

Remarks

The nothrow version of new returns a null pointer on failure. The normal version throws a bad_alloc exception on error.

Returns a pointer to the allocated memory.