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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c3a7c1845ec5caf9 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Equality operator overloading in ADA 83 Date: 1997/04/23 Message-ID: #1/1 X-Deja-AN: 236864938 References: <01bc4e9b$ac0e7fa0$72041dc2@lightning> <335CAEFE.35DC@elca-matrix.ch> <335E0A26.16D0@elca-matrix.ch> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1997-04-23T00:00:00+00:00 List-Id: In article <335E0A26.16D0@elca-matrix.ch>, Mats Weber wrote: >Sure. Maybe a good optimizer can do something here and detect that the >beginning of the string does not change. I'd like to see a compiler do that, but I've never seen one do it. Do any? I mean, to append a single character to this array, I just want to increment the discrim, and stick the character in the array. But Ada rules require me to do an assignment on the whole thing. - Bob