Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
first formal parameter to 'operator new' must be 'unsigned int'
The first formal parameter of the operator new must be an unsigned int
.
Example
The following sample generates C2821:
// C2821.cpp
// compile with: /c
void * operator new( /* unsigned int,*/ void * ); // C2821
void * operator new( unsigned int, void * );