🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #334

Re: Can we allow virtual function member declarations to be inherited?

#334
From: Marshall Cline
Date: Wed, 15 Aug 1990 17:29
27 lines
2244 bytes
In article <1069@lupine.NCD.COM> rfg@NCD.COM (Ron Guilmette) writes:
>In article <37923@ucbvax.BERKELEY.EDU> jbuck@galileo.berkeley.edu (Joe Buck) writes:
>>...the keyword virtual may
>>mean two things: define a new virtual function that applies from this
>>point in the class hierarchy downwards, OR override the baseclass definition
>>of this function...

>Wrong.  I don't know where you got this strange idea about your hypothetical
>second meaning for "virtual", but it is wrong.

I suspect ``where he got this strange idea'' was that most redefined
functions are virtual in the base class.  I hate to put words in Joe's
mouth, but my guess is that he was saying ``virtual can mean to virtualize a
previously non-virtual in a base class.''

I'd like to make an appeal: let's keep the C++ newsgroups friendly.  (I know
this doesn't apply to Joe Buck, but...) There are many many many new C++ers.
This is a good problem to have!  The X newsgroup has a `rep' for flaming
beginners; that's a rep we don't need or want.
--
==============================================================================
Marshall Cline / Asst.Prof / ECE Dept / Clarkson Univ / Potsdam, NY 13676
cline@sun.soe.clarkson.edu / Bitnet:BH0W@CLUTX / uunet!clutx.clarkson.edu!bh0w
Voice: 315-268-3868 / Secretary: 315-268-6511 / FAX: 315-268-7600
Career search in progress; ECE faculty; research oriented; will send vita.
PS: If your company is interested in on-site C++/OOD training, drop me a line!
==============================================================================
Technical Details
Message-ID: <CLINE.90Aug15132637@cheetah.ece.clarkson.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!image.soe.clarkson.edu!news
References: <DOVE.90Jul31222153@rocket.uucp> <37923@ucbvax.BERKELEY.EDU> <1069@lupine.NCD.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!image.soe.clarkson.edu!news
From: cline@cheetah.ece.clarkson.edu (Marshall Cline)
Newsgroups: comp.std.c++
Subject: Re: Can we allow virtual function member declarations to be inherited?
Message-ID: <CLINE.90Aug15132637@cheetah.ece.clarkson.edu>
Date: 15 Aug 90 17:29:57 GMT
References: <DOVE.90Jul31222153@rocket.uucp> <37923@ucbvax.BERKELEY.EDU>
 <1069@lupine.NCD.COM>
Sender: news@sun.soe.clarkson.edu
Reply-To: cline@sun.soe.clarkson.edu (Marshall Cline)
Distribution: comp
Organization: (I don't speak for the) ECE Dept, Clarkson Univ, Potsdam, NY
Lines: 28
In-reply-to: rfg@NCD.COM's message of 4 Aug 90 00:56:48 GMT