Compiler Error C2832

'modifier' form of 'operator operator' cannot be a member

The specified form of the operator new or delete was declared as a member of a class, structure, or union.

The huge and based forms of these operators are not supported as member functions.

The following are examples of this error:

class T
{
public:
   void __huge* operator new ( unsigned long, size_t );      // error
   void __based(void)* operator new ( __segment, size_t );   // error
   void operator delete ( void __huge* );                    // error
   void operator delete ( __segment, void __based(void)* );  // error
};