This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug in function template specialization?
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Bug in function template specialization?
- From: cher at suitware dot com
- Date: Fri, 03 Mar 2000 11:11:36 -0800
I found what seems to be a bug in parsing function template
specializations. In the test case, I have an example of two function
template specializations; one that declares an ordinary function and one
that declares an overloaded operator. GCC produces an error for the
operator, but does not for the ordinary function.
System: Linux x86
OS: Redhat 6.0
gcc version: 2.95.2 (I installed the rpms from redhat's rawhide site.)
Command-line: gcc bug1.cpp
Let me know if there's any more information you need.
bug1.ii.bz2