[gnu.g++.bug] protected members

rich@kappa.Rice.EDU (Richard Murphey) (06/06/89)

> 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