Lines Matching defs:new
12 void *operator new[](std::size_t size) throw() { return allocator(size); }
13 void *operator new(std::size_t size) throw() { return allocator(size); }
14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
15 void *operator new(std::size_t, double d);
19 void *operator new(std::size_t);
23 void *p1 = C::operator new(0); // no warn
25 C *p2 = new C; // no warn
27 C *c3 = ::new C;
34 void *p = operator new[](0); // call is inlined, no warn
38 int *p = new int[0];
47 void *p = operator new(0); // call is inlined, no warn
51 int *p = new int;
60 void *p = operator new(0, std::nothrow);
67 int *p = new(std::nothrow) int;
75 void *p = operator new(0, 0.1); // no warn
79 int *p = new(0.1) int; // no warn