The information in this article applies to:
SYMPTOMSWhen you explicitly call a class template destructor, and the class object is instantiated with a user defined class in a C++ program, the compiler generates the following compiler errors:
For example, this can happen when you use MFC's collection classes and need to overload the DestroyElement() helper function, in which the class destructor can be explicitly called. RESOLUTION
The following code can be used to work around the problem.
Workaround:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Microsoft Visual C++, 32-bit Edition, version 4.0. MORE INFORMATIONSample Code to Demonstrate Problem
Additional query words: 9.00 2.00 2.10 9.10
Keywords : |
Last Reviewed: January 19, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |