The information in this article applies to:
SYMPTOMSLinker error LNK2001 is generated for static member variables of nested classes in class templates. The message states:
RESOLUTIONDo not use static member variables in nested classes of class templates. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe sample code below gives the error message LNK2001. Sample Code
Additional query words: kbVC400bug
Keywords : kbCompiler kbCPPonly kbVC kbVC200bug kbVC210bug kbVC220bug kbVC400bug kbVC410bug kbVC420bug kbVC500bug |
Last Reviewed: May 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |