[Bug c++/23823] Is this right?

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 11 23:40:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-09-11 23:38 -------
The code is illegal (you can only partially specialize class templates, 
not function templates). I think the error message is clear: you only 
give one template parameter (and try, illegally, to fix the other), 
instead of having two template parameters as required (note the function 
has two parameters, but in your attempt of a partial specialization, you 
only leave one as a template while fixing the other to a particular value). 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list