Lines Matching defs:operator
34 // The global operator new should never be called since it will usually indicate
41 // void* operator new(std::size_tsize) throw(std::bad_alloc);
42 // void* operator new[](std::size_tsize) throw(std::bad_alloc);
45 // throw clause (i.e. "operator delete(void* p) throw()") which means that they do not
55 // override the default throwing new operator with a user operator with an empty throw()
58 // operator definitions have been checked to correctly work with all currently supported
64 void* operator new(size_t size) /* throw(std::bad_alloc) */ {
65 fatal("Should not call global operator new");
69 void* operator new [](size_t size) /* throw(std::bad_alloc) */ {
70 fatal("Should not call global operator new[]");
74 void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw() {
75 fatal("Should not call global operator new");
79 void* operator new [](size_t size, std::nothrow_t& nothrow_constant) throw() {
80 fatal("Should not call global operator new[]");
84 void operator delete(void* p) throw() {
88 void operator delete [](void* p) throw() {