The information in this article applies to:
SYMPTOMSAttempting to overload member functions located in a base class from a derived class with a 'using' declaration, may result in the following compiler error:
CAUSEThis particular problem occurs if the member functions that are being overloaded are declared before the 'using' declaration in the class definition. RESOLUTIONPlace the 'using' declaration above the declarations for the member functions you want to overload. See the comments in the following code sample: Sample Code
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. REFERENCESFor more information on the 'using' declaration, please see: \Visual C++ Books\C/C++\C++ Language\Reference\Declarations\ Namespaces\using Declaration Additional query words: kbVC400bug
Keywords : kbCompiler kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug |
Last Reviewed: May 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |