The information in this article applies to:
SYMPTOMS
Compiling a program that has all of the following in the code causes the
compiler to generate two errors:
-and-
CAUSEThe class template was instantiated within the typedef statement where the class B definition (the derivation) has not been seen by the compiler yet. Therefore no conversion is defined between the derived class and the base class. RESOLUTION
Use any one of the following three workarounds:
-or- -or- 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 Reproduce Problem
Additional query words: 2.00 2.10 9.00 9.10
Keywords : kbcode |
Last Reviewed: September 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |