equal
deleted
inserted
replaced
111 // int _exception_line; // line information for exception (debugging only) |
111 // int _exception_line; // line information for exception (debugging only) |
112 protected: |
112 protected: |
113 // Support for forcing alignment of thread objects for biased locking |
113 // Support for forcing alignment of thread objects for biased locking |
114 void* _real_malloc_address; |
114 void* _real_malloc_address; |
115 public: |
115 public: |
116 void* operator new(size_t size) { return allocate(size, true); } |
116 void* operator new(size_t size) throw() { return allocate(size, true); } |
117 void* operator new(size_t size, const std::nothrow_t& nothrow_constant) { return allocate(size, false); } |
117 void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw() { |
|
118 return allocate(size, false); } |
118 void operator delete(void* p); |
119 void operator delete(void* p); |
119 |
120 |
120 protected: |
121 protected: |
121 static void* allocate(size_t size, bool throw_excpt, MEMFLAGS flags = mtThread); |
122 static void* allocate(size_t size, bool throw_excpt, MEMFLAGS flags = mtThread); |
122 private: |
123 private: |