C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
C2824
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2824
 
     return type for 'operator new' must be 'void *'
 
     A redefinition of the nonbased form of the operator new
     contained a return statement that returned a type that was not a
     void pointer. The return value for the operator new must be
     void *.
                                    -♦-