From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2f0af5e440b367f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-02 13:20:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: proposal for new assignment operators References: <1057170433.957630@master.nyc.kbcfp.com> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc52.ops.asp.att.net 1057177252 12.234.13.56 (Wed, 02 Jul 2003 20:20:52 GMT) NNTP-Posting-Date: Wed, 02 Jul 2003 20:20:52 GMT Organization: Comcast Online Date: Wed, 02 Jul 2003 20:20:52 GMT Xref: archiver1.google.com comp.lang.ada:39992 Date: 2003-07-02T20:20:52+00:00 List-Id: > > On a recent thread we were told that the usual idiom in C++ was > > to do assignment a certain way to accomplish Finalization. > > ... we were told basically that the programmer > > would override assignment differently. > The default assignment operator does elementwise assignment > for each subcomponent, but a user-written one may do whatever > it deems appropriate. I repeat: > Personally, I prefer having > the computer do it, and do it right, rather than having to do it > myself, possibly making a mistaake in the process.