The information in this article applies to:
SYMPTOMSWhen a member initializer instantiates a template class that takes a const parameter in its constructor, you may receive the following error:
RESOLUTIONDeclare a global object of the template class specialization that is used in the member initializer. When optimizations are used, this unreferenced global should be optimized away. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows. MORE INFORMATION
This is a regression from Visual C++ 5.0.
Sample Code
Additional query words: visual studio service pack
Keywords : kbVC600fix kbVS97sp3bug |
Last Reviewed: July 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |