bad_alloc Class Reference

Inheritance diagram for bad_alloc:

Inheritance graph
List of all members.

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.

Public Member Functions


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, bad_weak_ptr, logic_error, and runtime_error.


The documentation for this class was generated from the following file:
Generated on Thu Nov 1 17:38:16 2007 for libstdc++ by  doxygen 1.5.1