From: Jason Merrill <jason@redhat.com>
To: Dodji Seketeli <dodji@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
Benjamin De Kosnik <bkoz@redhat.com>
Subject: Re: [C++ PATCH] PR c++/45114 - Support alias templates
Date: Mon, 07 Nov 2011 18:39:00 -0000 [thread overview]
Message-ID: <4EB8230D.4080106@redhat.com> (raw)
In-Reply-To: <m3y5vskjx1.fsf@redhat.com>
On 11/07/2011 10:54 AM, Dodji Seketeli wrote:
> I didn't realize the elaborated-type-specifier case. Fixed now.
There still seem to be problems printing the scope:
namespace N
{
template <class T> using U = T*;
};
void f(N::U<int>) { blah; }
------------
wa.C: In function ‘void N::f(U<int>)’:
wa.C:6:21: error: ‘blah’ was not declared in this scope
Note how the N:: is attached to the function rather than the parameter
type. I wonder how that happens...
But this patch is close enough; go ahead and check it in as is and fix
this issue afterwards.
Jason
next prev parent reply other threads:[~2011-11-07 18:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 19:26 Dodji Seketeli
2011-10-27 22:16 ` Gabriel Dos Reis
2011-10-27 22:40 ` Jason Merrill
2011-11-06 2:19 ` Dodji Seketeli
2011-11-06 10:13 ` Jason Merrill
2011-11-07 15:57 ` Dodji Seketeli
2011-11-07 18:39 ` Jason Merrill [this message]
2011-11-08 3:40 ` [C++ PATCH] Fix context handling of alias declaration Dodji Seketeli
2011-11-08 5:13 ` Jason Merrill
2011-11-08 20:15 ` [C++ PATCH] PR c++/45114 - Support alias templates H.J. Lu
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=4EB8230D.4080106@redhat.com \
--to=jason@redhat.com \
--cc=bkoz@redhat.com \
--cc=dodji@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).