std::bad_alloc - Exception possibly thrown by new.
Contents
Detailed Description
Exception possibly thrown by new.
bad_alloc (or classes derived from it) is used to report allocation errors from the throwing forms of
new.
Member Function Documentation
virtualconstchar*std::bad_alloc::what()const[virtual]
Returns a C-style character string describing the general cause of the current error.
Reimplemented from std::exception.
Name
std::bad_alloc - Exception possibly thrown by new.
Synopsis
#include <new>
Inherits std::exception.
Inherited by std::bad_array_new_length.
PublicMemberFunctionsbad_alloc (const bad_alloc &)=defaultbad_alloc & operator= (const bad_alloc &)=defaultvirtual const char * what () const throw ()
