🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #395

multiple inheritance

#395
From: henry strickland
Date: Wed, 22 Mar 1989 22:54
22 lines
1356 bytes
The rumour went around Georgia Tech that the newest GNU g++ handled
multiple inheritance.    Where did that rumour come from?

I got "g++-1.34.1.tar.Z" from "prep.ai.mit.edu".   I use a sun3.

Is there even a schetchy list of what is supposed to work in this
distribution?  Am I overlooking some documentation file?
g++.texinfo documents many things well, but seems out of date.
For instance, people on the net are discussing special return variables,
which are not in g++.texinfo.  How did they find out about these?
Multiple inheritance isn't mentioned either.

What I can intuit from testing and looking at the sources,
multiple inheritance works only in the following special case:
	-- nothing is virtual.
	-- variables of superclasses are not accessed directly.
			(i.e., you use member functions only to
				access your supers).
Is this right?  Supposed to work?       TIA,

					Henry Strickland
					<strick@gatech.edu>
Technical Details
Message-ID: <18221@gatech.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!gatech!strick

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!gatech!strick
From: strick@gatech.edu (henry strickland)
Newsgroups: gnu.g++
Subject: multiple inheritance
Message-ID: <18221@gatech.edu>
Date: 22 Mar 89 22:54:30 GMT
Sender: news@gatech.edu
Reply-To: strick@gatech.edu (henry strickland)
Organization: the techwood toaster pastry users group
Lines: 22