我的代码:
 void* CMy::operator new(unsigned int size,const char * file,int line)  
   {
return NULL ; 
  }   void CMy::operator delete(void* ptr,const char *file,int line)
   {
   } CMy* pMy = new CMy () ; 
delete pMy ; // error C2573: 'CMy' : cannot delete pointers to objects of this type; the class has no non-placement overload for 'operator delete'.
如果重载只带一个参数的delete操作符就没问题了。 why ?