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