Home | History | Annotate | Download | only in expr.new

Lines Matching full:operator

4 // Overloaded operator delete with two arguments
8 static void* operator new(size_t);
9 static void operator delete(void*, size_t) {
18 // Overloaded operator delete with one argument
23 static void* operator new(size_t);
24 static void operator delete(void*) {
33 // Overloaded operator delete for placement new
38 static void* operator new(size_t, double, double);
39 static void* operator new(size_t, int, int);
41 static void operator delete(void*, const int, int) {
45 static void operator delete(void*, double, double);
52 // Operator delete template for placement new
56 static void* operator new(size_t, double, double);
59 static void operator delete(void*, T x, T) {
69 // Operator delete template for placement new in global scope.
72 static void* operator new(size_t, double, double);
76 void operator delete(void*, T x, T) {
85 // Useless operator delete hides global operator delete template.
88 static void* operator new(size_t, double, double);
89 void operator delete(void*, double*, double*);
93 new (0, 0) X5; // okay, we found X5::operator delete but didn't pick it
96 // Operator delete template for placement new
101 static void* operator new(size_t) {
105 static void operator delete(void*) {
114 void *operator new(size_t, double, double, double);
117 void operator delete(void*, T x, T, T) {
125 // We don't need an operator delete if the type has a trivial
131 static void* operator new(size_t);
132 static void operator delete(void*, size_t) {