public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
@ 2005-06-23  4:27 ` pinskia at gcc dot gnu dot org
  2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  4:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 04:27 -------
Confirmed, to ...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |2.95.3 3.3.5 4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-23 04:27:34
               date|                            |


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
@ 2005-06-23  4:27 pinskia at gcc dot gnu dot org
  2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  4:27 UTC (permalink / raw)
  To: gcc-bugs

The following should compile according to this DR report (but it is only in ready state so I am going to 
confirm it and then suspend it):
class a {};
typename ::a f();

Also the following should not compile as a is not qualified then:
class a {};
typename a f();

-- 
           Summary: [DR 382] qualified names should allow typename keyword
                    in front of it (even in non-templates)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
  2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
@ 2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
  2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  4:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 04:28 -------
Suspend this as it only in the ready state.

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
  2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
  2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
@ 2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
  2005-06-23 14:58 ` gdr at integrable-solutions dot net
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23  5:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 05:05 -------
Oh and I thought I saw a bug or two about this before.

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
@ 2005-06-23 14:58 ` gdr at integrable-solutions dot net
  2005-06-23 14:58 ` [Bug c++/22154] New: " Gabriel Dos Reis
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-06-23 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-06-23 14:58 -------
Subject: Re:  New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| The following should compile according to this DR report (but it is only in ready state so I am going to 
| confirm it and then suspend it):
| class a {};
| typename ::a f();
| 
| Also the following should not compile as a is not qualified then:
| class a {};
| typename a f();

If that is what the DR says, then the DR does not make any sense...

-- Gaby


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-06-23 14:58 ` gdr at integrable-solutions dot net
@ 2005-06-23 14:58 ` Gabriel Dos Reis
  2005-06-23 15:04 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Gabriel Dos Reis @ 2005-06-23 14:58 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| The following should compile according to this DR report (but it is only in ready state so I am going to 
| confirm it and then suspend it):
| class a {};
| typename ::a f();
| 
| Also the following should not compile as a is not qualified then:
| class a {};
| typename a f();

If that is what the DR says, then the DR does not make any sense...

-- Gaby


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-06-23 14:58 ` [Bug c++/22154] New: " Gabriel Dos Reis
@ 2005-06-23 15:04 ` pinskia at gcc dot gnu dot org
  2005-06-23 18:13 ` gdr at integrable-solutions dot net
  2005-06-27 18:05 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-23 15:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 15:04 -------
(In reply to comment #4)
> If that is what the DR says, then the DR does not make any sense...
Hey I am just reading what it says:
<http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#382>.

DR 468 is about allowing ::template outside of templates.

I am not making this up.

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-06-23 15:04 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
@ 2005-06-23 18:13 ` gdr at integrable-solutions dot net
  2005-06-27 18:05 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-06-23 18:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-06-23 18:13 -------
Subject: Re:  [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 15:04 -------
| (In reply to comment #4)
| > If that is what the DR says, then the DR does not make any sense...
| Hey I am just reading what it says:
| <http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#382>.
| 
| DR 468 is about allowing ::template outside of templates.
| 
| I am not making this up.

I'm not saying you're making it up.  It just strikes me that the new
"subtlities" don't make much sense.

-- Gaby


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/22154] [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)
  2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-06-23 18:13 ` gdr at integrable-solutions dot net
@ 2005-06-27 18:05 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-27 18:05 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-06-27 18:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-23  4:27 [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates) pinskia at gcc dot gnu dot org
2005-06-23  4:27 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
2005-06-23  4:28 ` pinskia at gcc dot gnu dot org
2005-06-23  5:05 ` pinskia at gcc dot gnu dot org
2005-06-23 14:58 ` gdr at integrable-solutions dot net
2005-06-23 14:58 ` [Bug c++/22154] New: " Gabriel Dos Reis
2005-06-23 15:04 ` [Bug c++/22154] " pinskia at gcc dot gnu dot org
2005-06-23 18:13 ` gdr at integrable-solutions dot net
2005-06-27 18:05 ` pinskia at gcc dot gnu dot org

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