|
@@ -20,8 +20,10 @@ extern void printMemoryLeaks();
|
|
|
#endif
|
|
#endif
|
|
|
void* operator new (std::size_t size, const char* file, int line);
|
|
void* operator new (std::size_t size, const char* file, int line);
|
|
|
void* operator new[] (std::size_t size, const char* file, int line);
|
|
void* operator new[] (std::size_t size, const char* file, int line);
|
|
|
|
|
+#ifdef WIN32
|
|
|
void* operator new (std::size_t size) throw(std::bad_alloc);
|
|
void* operator new (std::size_t size) throw(std::bad_alloc);
|
|
|
void* operator new[] (std::size_t size) throw(std::bad_alloc);
|
|
void* operator new[] (std::size_t size) throw(std::bad_alloc);
|
|
|
|
|
+#endif
|
|
|
void* operator new (std::size_t size, const std::nothrow_t&) throw();
|
|
void* operator new (std::size_t size, const std::nothrow_t&) throw();
|
|
|
void* operator new[] (std::size_t size, const std::nothrow_t&) throw();
|
|
void* operator new[] (std::size_t size, const std::nothrow_t&) throw();
|
|
|
void operator delete (void* p) throw();
|
|
void operator delete (void* p) throw();
|