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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.196.6 with SMTP id ii6mr11337174obc.34.1407594761030; Sat, 09 Aug 2014 07:32:41 -0700 (PDT) X-Received: by 10.140.84.212 with SMTP id l78mr3658qgd.12.1407594761003; Sat, 09 Aug 2014 07:32:41 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!h18no10698104igc.0!news-out.google.com!j6ni34691qas.0!nntp.google.com!v10no5704007qac.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 9 Aug 2014 07:32:40 -0700 (PDT) In-Reply-To: <8cc86d41-2c7e-42d7-b057-1f9f010d9002@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.115.15.232; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 188.115.15.232 References: <85a97spo1c.fsf@stephe-leake.org> <92dd7d22-a7da-44d7-9c40-b3aa62881683@googlegroups.com> <4f431041-5292-434d-988e-46d69f4800f8@googlegroups.com> <472a5732-3dc9-4c08-8bda-00720375a2a9@googlegroups.com> <8cc86d41-2c7e-42d7-b057-1f9f010d9002@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <75864d79-609c-4e37-98d8-6b5f050ad59d@googlegroups.com> Subject: Re: Problem with generic linked list package From: Laurent Injection-Date: Sat, 09 Aug 2014 14:32:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:188299 Date: 2014-08-09T07:32:40-07:00 List-Id: Hi My Insert_In_Order test works now but honestly I have to admit that I don't understand why it works. with function "<"(Left, Right : Element) return Boolean is <>; with function "="(Left, Right : Element) return Boolean is <>; There is no "<" and "=" defined for Element_Type, normally. So the "<>" seems to do the trick but why? The box tells the compiler that it will get the info it needs later. But in this case there is no later, isn't it? There are 3,5 lines of code compared to what I have tried before. So for me it looks like magic^^. So if someone could enlighten me I would be quite happy. Thanks Laurent