18.1.5. Exception Class Hierarchies
The only operations that the
exception types define are the copy constructor, copy-assignment operator, a virtual destructor, and a virtual member named
what function returns a
const char* that points to a null-terminated character array, and is guaranteed not to throw any exceptions.
bad_alloc classes also define a default constructor. The
logic_error classes do not have a default constructor but do have constructors that take a C-style character string or a library
string argument. Those arguments are intended to give additional ...