Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!ulysses!allegra!fox From: fox@allegra.att.com (David Fox) Newsgroups: comp.lang.c++ Subject: Re: friend operator +(l,r) vs. operator +(r) Message-ID: Date: 22 Nov 90 13:52:57 GMT References: <11759@hubcap.clemson.edu> <1990Nov21.053431.22340@actrix.co.nz> Sender: netnews@ulysses.att.com Organization: AT&T Bell Laboratories Lines: 9 In-reply-to: Bruce.Hoult@bbs.actrix.gen.nz's message of 21 Nov 90 05:34:31 GMT In article <1990Nov21.053431.22340@actrix.co.nz> Bruce.Hoult@bbs.actrix.gen.nz writes: The important difference is that the friend version allows implicit conversions to be made on both the left hand and right hand arguments to +, wheras the member function version allows implicit conversions on only the RH argument. Another difference is that the member version can be virtual, while the friend version cannot.