A specialization of std::bad_alloc. More...
#include <util.h>
Public Member Functions | |
| bad_alloc (const char *m="unknown") throw () | |
| Constructor. More... | |
| virtual const char * | what () const throw () |
A specialization of std::bad_alloc.
|
inline | ||||||||||||||
Constructor.
The argument is expected to be a static string so that there is no need to allocate any memory for the error message.
|
| |