The information in this article applies to:
SYMPTOMSYou may get the following error message if you try to use partial ordering of template functions: Please refer to the sample code in the "More Information" section for details. CAUSEThe compiler does not support partial ordering of template functions as specified in the C++ Standard, section 14.5.5.2, which is quoted below: 1 - If a function template is overloaded, the use of a function template specialization might be ambiguous because template argument deduction may associate the function template specialization with more than one function template declaration. Partial ordering of overloaded function template declarations is used in the following contexts to select the function template to which a function template specialization refers: STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorThe following sample code demonstrates the error:
REFERENCESPlease refer to the C++ Standard, section 14.5.5.2, for more information. Additional query words: 2667 2668
Keywords : kbCompiler kbCPPonly kbLangCPP kbVC kbVC500 kbVC500bug kbVC600 kbVC600bug |
Last Reviewed: November 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |