The information in this article applies to:
SYMPTOMSCalling typeid with a temporary object causes the following error:
RESOLUTIONInstead of calling typeid with a temporary object, create a stack object and then call typeid, referencing the stack object. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 5.0. MORE INFORMATIONSample Code
Additional query words: kbVC420bug kbDSupport typeid RTTI
Keywords : kbcode kbCompiler kbCPPonly kbLangCPP kbVC kbVC500fix kbx86 |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |