public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: gcc-patches List <gcc-patches@gcc.gnu.org>
Subject: Re: C++ PATCH for c++/64455 (dependent variable template in constant expression)
Date: Tue, 06 Jan 2015 22:02:00 -0000	[thread overview]
Message-ID: <54AC5B82.3000800@redhat.com> (raw)
In-Reply-To: <54AC5B4F.9080205@redhat.com>

On 01/06/2015 05:01 PM, Jason Merrill wrote:
> We were complaining about IsType<T> not being constant, but we shouldn't
> think about it having a constant value or not, because it is
> type-dependent; a variable template can have a specialization with a
> different type.

The second patch fixes a diagnostic issue I noticed while working on the 
above patch: we should say something helpful when someone writes :: 
after a variable template-id.

Jason


      reply	other threads:[~2015-01-06 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 22:02 Jason Merrill
2015-01-06 22:02 ` Jason Merrill [this message]

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=54AC5B82.3000800@redhat.com \
    --to=jason@redhat.com \
    --cc=gcc-patches@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).