BUG: C2084 on Overloading Function Templates (268239)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q268239 SYMPTOMS
You may receive the following error message if you try to overload a template function that has class templates as parameters:
error C2084: function 'void __cdecl f1(class A<T>,class A<T>)' already has a body
Please refer to the sample code in the "More Information" section for details.
RESOLUTION
See the workaround in the sample code in the "More Information" section.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 7/5/2005 |
---|
Keywords: | kbBug kbCompiler kbCPPonly KB268239 |
---|
|