public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/21498] [c++0x] friend declaration can name non-class with class-key
Date: Tue, 03 Nov 2009 18:40:00 -0000	[thread overview]
Message-ID: <20091103184036.21969.qmail@sourceware.org> (raw)
In-Reply-To: <bug-21498-8718@http.gcc.gnu.org/bugzilla/>



------- Comment #14 from jason at gcc dot gnu dot org  2009-11-03 18:40 -------
In C++0x the testcase is still ill-formed, but changing "friend class" to
"friend typename" makes it well-formed.  I'm not going to give an error for
this usage until the other usage is implemented.

http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1791.pdf


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[c++0x] clause 7.1.5.3/2 of |[c++0x] friend declaration
                   |the c++ is not enforced     |can name non-class with
                   |                            |class-key


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21498


  parent reply	other threads:[~2009-11-03 18:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-21498-8718@http.gcc.gnu.org/bugzilla/>
2006-07-01  1:06 ` [Bug c++/21498] clause 7.1.5.3/2 of the c++ is not enforced fang at csl dot cornell dot edu
2006-07-01 11:18 ` steven at gcc dot gnu dot org
2006-07-01 22:09 ` mmitchel at gcc dot gnu dot org
2006-07-02  8:44 ` truedfx at gentoo dot org
2006-07-02 17:37 ` fang at csl dot cornell dot edu
2006-07-03  5:19 ` mmitchel at gcc dot gnu dot org
2006-09-05 10:21 ` pluto at agmk dot net
2006-09-18 23:42 ` pinskia at gcc dot gnu dot org
2006-09-18 23:42 ` pinskia at gcc dot gnu dot org
2006-09-18 23:43 ` pinskia at gcc dot gnu dot org
2006-09-18 23:43 ` pinskia at gcc dot gnu dot org
2006-09-18 23:44 ` [Bug c++/21498] [c++0x] " pinskia at gcc dot gnu dot org
2006-09-19  5:18 ` pinskia at gcc dot gnu dot org
2009-11-03 18:40 ` jason at gcc dot gnu dot org [this message]
     [not found] <bug-21498-4@http.gcc.gnu.org/bugzilla/>
2011-09-10  3:30 ` [Bug c++/21498] [c++0x] friend declaration can name non-class with class-key redi at gcc dot gnu.org
2024-02-07  9:27 ` jlame646 at gmail dot com

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=20091103184036.21969.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).