🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #149

Re: Proposal: Semantic Change on Operator "::"

#149
From: David (Lujun) Shang
Date: Fri, 11 Sep 1992 18:24
21 lines
1051 bytes
In article <1992Sep11.173823.17289@cadsun.corp.mot.com> shang@corp.mot.com  
(David (Lujun) Shang) writes:

> In example:
> 
>         class A { public: static int i; };
>         class A_ { public: static int i; };
>         class B: public A { public: static A_ A;   };
>         B b;
> 
> "B.A::i" denotes the integer of A_;
> "B::A.i" denotes the integer of A;
> 
Sorry, should be 

"B.A.i" denotes the integer of A_;
"B.A::i" denotes the integer of A;

Note that "::" has a hihger priority than ".".

David Shang
Technical Details
Message-ID: <1992Sep11.182405.17418@cadsun.corp.mot.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!motsrd!news
References: <1992Sep11.173823.17289@cadsun.corp.mot.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!motsrd!news
From: shang@corp.mot.com (David (Lujun) Shang)
Subject: Re: Proposal: Semantic Change on Operator "::"
Message-ID: <1992Sep11.182405.17418@cadsun.corp.mot.com>
Sender: news@cadsun.corp.mot.com
Reply-To: shang@corp.mot.com
Organization: Motorola, Inc., Software Research and Development, Rolling Meadows, IL. 60008
References: <1992Sep11.173823.17289@cadsun.corp.mot.com>
Distribution: World
Date: Fri, 11 Sep 92 18:24:05 GMT
Lines: 21