This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23823] Is this right?
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2005 23:38:47 -0000
- Subject: [Bug c++/23823] Is this right?
- References: <20050911133359.23823.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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