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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9fb64e4c58f1fe X-Google-Attributes: gid103376,public From: johnherro@aol.com (John Herro) Subject: Re: overload ":=" ??? Date: 1996/07/23 Message-ID: <4t3cvc$rvl@newsbf02.news.aol.com>#1/1 X-Deja-AN: 169757662 sender: root@newsbf02.news.aol.com references: organization: America Online, Inc. (1-800-827-6364) newsgroups: comp.lang.ada Date: 1996-07-23T00:00:00+00:00 List-Id: guerby@gnat.com (Laurent Guerby) writes: > in the case of "=", there are some strict rules > (returns boolean, "/=" implictly defined) that > restrain your creativity. For user-defined "=" in Ada 83, the result had to be Boolean, the two parameters had to be of the same type, that type had to be a limited private type, and "/=" was implicitly defined. For user-defined "=" in Ada 95, if I'm not mistaken, the result and the parameters can be of any type. *IF* the result is Boolean, then "/=" is implicitly defined, and if not, then we may optionally redefine "/=". - John Herro Software Innovations Technology http://members.aol.com/AdaTutor ftp://members.aol.com/AdaTutor MUSIC is easier to read when written in C. SOFTWARE is easier to read when written in Ada!