The information in this article applies to:
SYMPTOMSDefining a static member function together with a user-defined class destructor in a class that is used only as a return type of a member function in another class may cause the Microsoft C++ compiler version 9.0 to generate the following compiler error: The sample code in the More Information section below demonstrates this problem. RESOLUTION
To work around the problem, use one of the following suggestions:
-or- -or- STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Microsoft Visual C++, 32-bit Edition, version 4.0. MORE INFORMATIONThe sample code below can be used to generate the C1001 error. Sample Code
Additional query words: 2.00 2.10 2.20 9.00 9.10
Keywords : kbCompiler kbCPPonly kbVC |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |