From: Jakub Jelinek <jakub@redhat.com>
To: Jason Merrill <jason@redhat.com>, Marek Polacek <polacek@redhat.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [C++ PATCH] Avoid weird inform without previos error during SFINAE (PR c++/92965)
Date: Sat, 21 Dec 2019 00:14:00 -0000 [thread overview]
Message-ID: <20191221001243.GE10088@tucnak> (raw)
In-Reply-To: <a453108f-e669-ba7c-c4ea-c7209a6313e2@redhat.com>
On Fri, Dec 20, 2019 at 06:18:04PM -0500, Jason Merrill wrote:
> > BTW, is the testcase valid in C++17 mode? GCC 7/8/9/trunk accept it,
> > but clang++ rejects it.
>
> No, non-template parameters of class types are a C++20 feature.
Trunk accepts it since r276248 aka PR91923 in -std=c++17 mode.
Jakub
prev parent reply other threads:[~2019-12-21 0:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 20:58 Jakub Jelinek
2019-12-20 23:22 ` Jason Merrill
2019-12-21 0:14 ` Jakub Jelinek [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=20191221001243.GE10088@tucnak \
--to=jakub@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jason@redhat.com \
--cc=polacek@redhat.com \
/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).