🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #84

Re: virtual operator+

#84
From: Victor Bazarov
Date: Thu, 16 May 2002 23:34
12 lines
1755 bytes
"Christopher Deli" <christopher@delinfo.com> wrote...
> a B object. Thanks.


First, please don't top-post.  Second, how should a base class'
operator + return an object of derived class?  And if it doesn't,
then the derived class' operator will not be overriding the base
class' operator -- the signatures have to match.

Victor
--
Please remove capital A's from my address when replying by mail
Technical Details
Message-ID: <LlXE8.28765$L76.1839@rwcrnsc53>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail
References: <5mVE8.38287$n4.8427350@newsc.telia.net> <notdanielt3-34A906.17313116052002@news.bellatlantic.net> <lOWE8.38315$n4.8433716@newsc.telia.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114592,e2ff40a616ce87ab
X-Google-Attributes: gid114592,public
X-Google-Thread: 10d4ba,e2ff40a616ce87ab
X-Google-Attributes: gid10d4ba,public
X-Google-Thread: 109fba,e2ff40a616ce87ab
X-Google-Attributes: gid109fba,public
X-Google-ArrivalTime: 2002-05-16 16:34:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail
From: "Victor Bazarov" <vAbazarov@dAnai.com>
Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++
References: <5mVE8.38287$n4.8427350@newsc.telia.net> <notdanielt3-34A906.17313116052002@news.bellatlantic.net> <lOWE8.38315$n4.8433716@newsc.telia.net>
Subject: Re: virtual operator+
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <LlXE8.28765$L76.1839@rwcrnsc53>
NNTP-Posting-Host: 12.236.143.17
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc53 1021592043 12.236.143.17 (Thu, 16 May 2002 23:34:03 GMT)
NNTP-Posting-Date: Thu, 16 May 2002 23:34:03 GMT
Organization: AT&T Broadband
Date: Thu, 16 May 2002 23:34:03 GMT