The information in this article applies to:
SYMPTOMSWhen the default constructor of a nested class gets called, it causes the C2065 compiler error:
RESOLUTIONPlease see the MORE INFORMATION section for a workaround. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article.This problem was corrected in Microsoft Visual C++ version 6.0. MORE INFORMATIONNOTE: Because constructors do not have names, they are never found during
name lookup; however an explicit type conversion using the functional
notation causes a constructor to be called to initialize an object.
(This information came from the C++ Working Paper.)
Sample Code
Additional query words:
Keywords : kbcode kberrmsg kbtool kbVC500bug kbVC600fix |
Last Reviewed: March 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |