/* AUTOMATICALLY GENERATED BY tspec 2.10 API SUBSET: cpp:new:bad_alloc (VERSION 1.1) */ #ifndef __TDF_CPP_NEW_BAD_ALLOC #define __TDF_CPP_NEW_BAD_ALLOC extern "C++" { namespace std { #pragma TenDRA declaration block subset__cpp__new begin // EXCEPTION THROWN BY BAD NEW OPERATION class bad_alloc : public exception { // Implementation dependent details public : bad_alloc() throw(); bad_alloc(const bad_alloc &) throw(); bad_alloc &operator=(const bad_alloc &) throw(); virtual ~bad_alloc() throw(); virtual const char *what() const throw(); }; // SURROGATE NO-EXCEPTION CLASS struct nothrow_t {}; extern const nothrow_t nothrow; // NEW HANDLERS typedef void (*new_handler) (); new_handler set_new_handler(new_handler) throw(); #pragma TenDRA declaration block end } } #endif /* __TDF_CPP_NEW_BAD_ALLOC */