home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / std / cplus / 1135 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.1 KB

  1. Xref: sparky comp.std.c++:1135 comp.lang.c++:13391
  2. Newsgroups: comp.std.c++,comp.lang.c++
  3. Path: sparky!uunet!ftpbox!motsrd!news
  4. From: shang@corp.mot.com (David (Lujun) Shang)
  5. Subject: Re: What does "::" really mean?
  6. Message-ID: <1992Sep8.134341.25077@cadsun.corp.mot.com>
  7. Sender: news@cadsun.corp.mot.com
  8. Reply-To: shang@corp.mot.com
  9. Organization: Motorola, Inc., Software Research and Development, Rolling Meadows, IL. 60008
  10. References: <1992Sep4.140615.9469@cadsun.corp.mot.com>
  11. Date: Tue, 8 Sep 92 13:43:41 GMT
  12. Lines: 27
  13.  
  14. In article <1992Sep4.140615.9469@cadsun.corp.mot.com> shang@corp.mot.com (David  
  15. (Lujun) Shang) writes:
  16. > [ examples deleted]
  17. >
  18. > We should use:
  19. >    AA1.AA.NAA
  20. > to denote the class NAA nested in class AA nested in class AA1, and use
  21. >    AA1::AA.NAA
  22. > to denote the class NAA nested in the base class AA of AA1.
  23. Sorry, this is a typo. I correct as follows:
  24.  
  25. We should use:
  26.  
  27.     AA1::AA.NAA
  28.  
  29.  to denote the class NAA nested in class AA nested in class AA1, and use
  30.  
  31.     AA1::AA::NAA
  32.  
  33.  to denote the class NAA nested in the base class AA of AA1.
  34.  
  35. David Shang
  36.