home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 13243 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  887 b 

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!allegra!alice!bs
  2. From: bs@alice.att.com (Bjarne Stroustrup)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Protected Derived classes.
  5. Message-ID: <23623@alice.att.com>
  6. Date: 3 Sep 92 01:45:12 GMT
  7. Article-I.D.: alice.23623
  8. References: <3570@unisql.UUCP> <1992Sep2.162011.11113@taumet.com>
  9. Organization: AT&T Bell Laboratories, Murray Hill NJ
  10. Lines: 12
  11.  
  12.  
  13.  
  14.  > >class D : protected B { /* ...*/ };
  15.  > 
  16.  > This feature was added to the language after the ARM was published.
  17.  > It is discussed in these two books:
  18.  > Bjarne Stroustrup, "The C++ Programming Language", 2nd Edition
  19.  > Stan Lippman, "C++ Primer", 2nd Edition
  20.  
  21. Actually, it was added while writing the ARM. It is in the ARM grammer
  22. but not discussed further because I (wrongly) assumed people could
  23. deduce the semantics from the rules from protected members.
  24.