bad_alloc Class Reference

Exception possibly thrown by new. More...

Inheritance diagram for bad_alloc:

Inheritance graph

List of all members.

Public Member Functions


Detailed Description

bad_alloc (or classes derived from it) is used to report allocation errors from the throwing forms of new.

Definition at line 55 of file new.


Member Function Documentation

virtual const char* what (  )  const throw () [virtual, inherited]

Returns a C-style character string describing the general cause of the current error.

Reimplemented in ios_base::failure, logic_error, and runtime_error.


The documentation for this class was generated from the following file:

Generated on Tue Dec 2 03:59:45 2008 for libstdc++ by  doxygen 1.5.7.1