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.
C2811
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2811
 
     too many formal parameters for based form of 'operator delete'
 
     There were too many formal parameters for the operator delete for
     based pointers.
 
     When used on based pointers, the operator delete takes either
     two or three actual parameters.
 
     The following are the prototypes for the based form of the
     operator delete:
 
          void operator delete( __segment, void __based( void ) * );
          void operator delete( __segment, void __based( void ) *, \
                                 unsigned int );
                                    -♦-