This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14971] better error message for partial specialization of function templates requested
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Apr 2004 22:58:57 -0000
- Subject: [Bug c++/14971] better error message for partial specialization of function templates requested
- References: <20040415222939.14971.tjic_gccbugs@tjic.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-15 22:58 -------
For comparison here what ICC 6.0 gives:
pr14971.cc
pr14971.cc(5): error: an explicit template argument list is not allowed on this declaration
void f<U,int> (U, int) {};
^
compilation aborted for pr14971.cc (code 2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14971