This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: c++/6709: typeof() cannot be used with the :: operator


Hi,
I think using the scope resolution operator along with typeof() is redundant. 
With the declaration typeof(x) q, q can access the element of struct X. 
Then why use :: with typeof?

One more doubt I have -
Using scope resolution operator of a class with struct is an extention to GCC?

Regards,
Anita
KPIT Infosystems Ltd., India ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNUSH and GNUH8 toolchains for Hitachi's SH and H8 Series.
The following site also offers free support to European customers.
Read more at http://www.kpit.com
Latest versions of GNUSH and GNUH8 are released on Apr 1, 2002.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

-----Original Message-----
From: lerdsuwa@gcc.gnu.org [mailto:lerdsuwa@gcc.gnu.org]
Sent: Wednesday, May 22, 2002 7:52 PM
To: gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; marco@technoboredom.net;
nobody@gcc.gnu.org
Subject: Re: c++/6709: typeof() cannot be used with the :: operator


Synopsis: typeof() cannot be used with the :: operator

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed May 22 07:21:39 2002
State-Changed-Why:
    Confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6709


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]