home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!unisql!nandraj
- From: nandraj@unisql.UUCP (Nandraj Arni)
- Newsgroups: comp.lang.c++
- Subject: Protected Derived classes.
- Message-ID: <3570@unisql.UUCP>
- Date: 31 Aug 92 23:41:47 GMT
- Reply-To: nandraj@unisql.UUCP (Nandraj Arni)
- Organization: UniSQL, Inc., Austin, Texas, USA
- Lines: 28
-
-
-
- I wanted to know why protected derived classes are not disscussed
- in ARM and not implemented in our GNU C++ compiler. What I am talking
- about is:
-
- class B { /*...*/ };
-
- class D : protected B { /* ...*/ };
-
- class DD : public D { /* ...*/ };
-
-
- I want to use B's functions and data in D and DD but should not visible
- outside D and DD. Is this feature implemented in other compilers? Why
- ARM doesn't disscuss this?
-
- --
- *******************************************************************
- Nandraj Arni
-
- UniSQL, Inc. Voice: 512 343 7372 Ext. 107
- 9390 Research Blvd. Home: 512 794 9386
- Kaliedo II FAX: 512 343 7383
- Austin, TX 78759
-
- Email: unisql!nandraj@cs.utexas.edu
- *******************************************************************
-