The information in this article applies to:
SYMPTOMS
A virtual function returning a templated class object and a derived class
defining the virtual function, causes the following compiler error:
RESOLUTIONDefine the base class function to be nonvirtual. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSample Code
REFERENCES(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mark Hagen, Microsoft Corporation. Additional query words: CL C2555 CPP CXX
Keywords : kbCompiler kbCPPonly kbLangCPP kbVC kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug |
Last Reviewed: February 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |