3 #include <EABase/eabase.h> 11 #define EA_COMPILER_NO_EXCEPTIONS 13 #if defined(EA_COMPILER_NO_EXCEPTIONS) && (!defined(__MWERKS__) || defined(_MSL_NO_THROW_SPECS)) && !defined(EA_COMPILER_RVCT) 14 #define THROW_SPEC_0 // Throw 0 arguments 15 #define THROW_SPEC_1(x) // Throw 1 argument 17 #define THROW_SPEC_0 throw() 18 #define THROW_SPEC_1(x) throw(x) 26 void*
operator new[](
size_t size,
const char* ,
int ,
27 unsigned ,
const char* ,
int ) THROW_SPEC_1(std::bad_alloc);
29 void*
operator new[](
size_t size,
size_t alignment,
size_t alignmentOffset,
const char* ,
30 int flags,
unsigned ,
const char* ,
int ) THROW_SPEC_1(std::bad_alloc);
38 void*
operator new(
size_t size) THROW_SPEC_1(std::bad_alloc);
41 void*
operator new[](
size_t size) THROW_SPEC_1(std::bad_alloc);
48 void operator delete(
void* p) THROW_SPEC_0;
51 void operator delete[](
void* p) THROW_SPEC_0;