The information in this article applies to:
SYMPTOMSThe September 1994 ANSI C++ Draft specifies that it is possible to overload the new [] operator. However, the Microsoft C/C++ compilers included in the Microsoft products listed above do not support this feature. Microsoft C/C++ version 7.0 and Visual C++ up to version 5.0 will generate the following error message: Microsoft Visual C++, 32-bit edition, version 5.0 generates two error messages:
STATUSThis behavior is by design. MORE INFORMATIONThe source code below can be used to illustrate how to overload the new [] operator, which will generate the error given above. Sample Code to Reproduce Behavior
Additional query words: C2372 C2039 C2660
Keywords : kbLangCPP kbVC100 kbVC150 kbVC151 kbVC152 kbVC200 kbVC410 kbVC420 kbVC500 kbVC600 |
Last Reviewed: July 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |