public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/23823] Is this right?
Date: Sun, 11 Sep 2005 23:40:00 -0000	[thread overview]
Message-ID: <20050911233847.6608.qmail@sourceware.org> (raw)
In-Reply-To: <20050911133359.23823.igodard@pacbell.net>


------- 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


  parent reply	other threads:[~2005-09-11 23:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 13:34 [Bug c++/23823] New: " igodard at pacbell dot net
2005-09-11 14:46 ` [Bug c++/23823] " pinskia at gcc dot gnu dot org
2005-09-11 15:45 ` igodard at pacbell dot net
2005-09-11 23:40 ` bangerth at dealii dot org [this message]
2005-09-12  1:15 ` igodard at pacbell dot net
2005-09-12  1:56 ` bangerth at dealii dot org
2005-09-12  3:17 ` igodard at pacbell dot net
2005-09-12  8:15 ` rguenth at gcc dot gnu dot org
2005-09-12 12:42 ` neil at daikokuya dot co dot uk
2005-09-12 12:49 ` igodard at pacbell dot net
2005-09-12 14:54 ` bangerth at dealii dot org
2005-09-12 15:39 ` gdr at integrable-solutions dot net
     [not found] <bug-23823-6594@http.gcc.gnu.org/bugzilla/>
2005-11-24  2:36 ` gdr at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050911233847.6608.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).