public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Paolo Carlini <paolo.carlini@oracle.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [C++ RFC / Patch] PR 51213 ("access control under SFINAE")
Date: Mon, 09 Jul 2012 16:05:00 -0000	[thread overview]
Message-ID: <4FFB0119.1080500@redhat.com> (raw)
In-Reply-To: <4FF1FAE4.5010505@redhat.com>

On 07/02/2012 09:47 PM, Jason Merrill wrote:
>> FAIL: g++.dg/template/friend13.C -std=c++11 (test for excess errors)

OK, the problem here is that we need to look up Outer::Inner in order to 
generate the declaration of foo<Outer>, and we can't check whether 
foo<Outer> is a friend of Outer until after we've completed the 
declaration.  deduction_tsubst_fntype tries to deal with this by pushing 
into the scope of the function template, but that doesn't help if only a 
specialization (or, in friend15, partial instantiation) is a friend.

I'll work on this some more.

Jason

  reply	other threads:[~2012-07-09 16:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 14:57 Paolo Carlini
2012-06-28 10:38 ` Paolo Carlini
2012-07-02 19:48 ` Jason Merrill
2012-07-09 16:05   ` Jason Merrill [this message]
2012-07-12 15:26 ` Jason Merrill
2012-07-12 23:54 ` Jason Merrill
2012-07-12 23:06   ` Jason Merrill
2012-07-19  1:36     ` Jason Merrill
2012-07-19  9:45       ` Paolo Carlini
2012-07-14  9:57   ` Paolo Carlini
2012-07-16 18:53     ` Jason Merrill
2012-07-17 12:46       ` Paolo Carlini
2012-07-17 14:11         ` Jason Merrill
2012-07-17 16:14           ` Paolo Carlini
2012-07-18  1:20             ` Paolo Carlini
2012-07-18  2:47               ` Jason Merrill

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=4FFB0119.1080500@redhat.com \
    --to=jason@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=paolo.carlini@oracle.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).