🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2073

protected members (was: bug caused by multiple inheritance)

#2073
From: Richard Murphey
Date: Mon, 05 Jun 1989 23:45
15 lines
1055 bytes
> derived class cannot use the virtual functions of its base class ?
> 
> Stephane Chatty         chatty@frlri61.fr


Weiner, Richard S. and Lewis J. Pinson. An Introduction to Object Oriented Programming and C++. Reading Mass.: Addison-Wesley, 1988. (ISBN 0-201-15413-7)

According to the text, protected class members are hidden in the same way as private members except in drived classes.  The scope of protected members includes the derived classes as well as the parent class. 

If anyone has other references on use of protected members, I'd also be interested.

Rich Murphey
Electrical Engineering
Rice University
rich@rice.edu
Technical Details
Message-ID: <3408@kalliope.rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!rice!kappa.Rice.EDU!rich
References: <8906051539.AA18913@lri.lri.fr>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!rice!kappa.Rice.EDU!rich
From: rich@kappa.Rice.EDU (Richard Murphey)
Newsgroups: gnu.g++.bug
Subject: protected members (was: bug caused by multiple inheritance)
Message-ID: <3408@kalliope.rice.edu>
Date: 5 Jun 89 23:45:33 GMT
References: <8906051539.AA18913@lri.lri.fr>
Sender: usenet@rice.edu
Distribution: gnu
Lines: 15