The information in this article applies to:
SYMPTOMSWhen initializing a static data member that has a user-defined type in a class template, the compiler generates the following error message on the line after the last line of code:
RESOLUTIONTo work around the problem, specify a specialized instance for particular data types when initializing the static data member -- as in the "Sample Code" section in this article. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, 32-bit Edition, version 4.0. MORE INFORMATIONThe following code can be used to reproduce the problem and work around the problem. Sample Code
Additional query words: 2.00 2.10 9.0 9.00 9.1 9.10
Keywords : kbCompiler kbCPPonly kbVC |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |