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,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-17 07:35:12 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: += in ada Date: 17 Oct 2003 09:35:08 -0600 Organization: LJK Software Message-ID: References: <3F7316F7.219F@mail.ru> <17cd177c.0310010606.52da88f3@posting.google.com> <3F8BC74F.2CFBFF37@0.0> <1066312000.671303@master.nyc.kbcfp.com> <1066400493.692750@master.nyc.kbcfp.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1066401224 6020 192.135.80.34 (17 Oct 2003 14:33:44 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 17 Oct 2003 14:33:44 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:1078 Date: 2003-10-17T09:35:08-06:00 List-Id: In article <1066400493.692750@master.nyc.kbcfp.com>, Hyman Rosen writes: > Lutz Donnerhacke wrote: >> Augmented assigments need a temporary as well as ordinary assigments of >> simple expressions. So your claim about unnecessary temporaries is plain >> wrong. > > If you're talking about Ada, augmented assignment operators don't > exist, so they cannot need anything. It's equally accurate to say > that every legal use of an augmented assignment operator in Ada > requires the sacrifice of a goat. But _illegal_ use of an augmented assignment operator in Ada requires two goats :-)