NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2672

'function' : new/delete member functions do not have 'this' pointers

A new or delete tried to access this.

Example

class C
{
   void* operator new( unsigned int )
   {
      this = 10;      // error  return 0;
   }
};