home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.std.c++:1135 comp.lang.c++:13391
- Newsgroups: comp.std.c++,comp.lang.c++
- Path: sparky!uunet!ftpbox!motsrd!news
- From: shang@corp.mot.com (David (Lujun) Shang)
- Subject: Re: What does "::" really mean?
- Message-ID: <1992Sep8.134341.25077@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: <1992Sep4.140615.9469@cadsun.corp.mot.com>
- Date: Tue, 8 Sep 92 13:43:41 GMT
- Lines: 27
-
- In article <1992Sep4.140615.9469@cadsun.corp.mot.com> shang@corp.mot.com (David
- (Lujun) Shang) writes:
- > [ examples deleted]
- >
- > We should use:
- >
- > AA1.AA.NAA
- >
- > to denote the class NAA nested in class AA nested in class AA1, and use
- >
- > AA1::AA.NAA
- >
- > to denote the class NAA nested in the base class AA of AA1.
- >
- Sorry, this is a typo. I correct as follows:
-
- We should use:
-
- AA1::AA.NAA
-
- to denote the class NAA nested in class AA nested in class AA1, and use
-
- AA1::AA::NAA
-
- to denote the class NAA nested in the base class AA of AA1.
-
- David Shang
-