C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C2813
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2813
 
     too many formal parameters for non-based 'operator delete'
 
     Too many formal parameters were provided for the nonbased form
     of the operator delete. The operator delete can take one or two
     formal parameters.
 
     The following are the prototypes for the nonbased forms of the
     operator delete:
 
          void operator delete ( void __near * );
          void operator delete ( void __near *, unsigned int );
          void operator delete ( void __far * );
          void operator delete ( void __far *, unsigned int );
          void operator delete ( void __huge * );
          void operator delete ( void __huge *, unsigned int );
                                    -♦-