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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54dffd1a28a970d0,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-08 15:31:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "CheGueVerra" Newsgroups: comp.lang.ada Subject: More generics X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Wed, 8 Oct 2003 17:46:44 -0400 NNTP-Posting-Host: 67.68.219.237 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1065651402 67.68.219.237 (Wed, 08 Oct 2003 18:16:42 EDT) NNTP-Posting-Date: Wed, 08 Oct 2003 18:16:42 EDT Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:502 Date: 2003-10-08T17:46:44-04:00 List-Id: Now, while continuing playing with generics I was trying to do something like this generic type T_Cle is private; type T_element is private; with function "<" (Cle_1 : in T_Cle; Cle_2 : in T_Cle) return Boolean; MaxElement : Integer := 10; package TestGen ... end TestGen; Now In the ada file when I try to do package GenTest is new TestGen(TGen, TCool, "<" , 100); I get this message that is really not clear for me Name has no possible Interpretation as a callable entity, but when I take out the overload of the operator "<" it works fine... So I guess that I need to define ( where is still not clear) the overloaded function "<" for that error to go away ??? Or am I way far from the track ?? Learning, reading and still trying CheGueVerra