[Bug c++/14971] better error message for partial specialization of function templates requested

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Fri Apr 16 00:28:00 GMT 2004


------- Additional Comments From gdr at integrable-solutions dot net  2004-04-15 23:34 -------
Subject: Re:  better error message for partial specialization of function templates requested

"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Even though I consider myself an experienced C++ user, I have run into 
| this before as well, and a description of _why_ this is an error (because 
| the standard says it is illegal) would certainly be helpful. I suggest that 
| something like 
|   partial specializations `...'; partial specializations of function 
|   templates are not allowed in C++ 
| would be a better wording. 

I agree with you.  Do you have a patch around?

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14971



More information about the Gcc-bugs mailing list