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 X-Google-Thread: 103376,1aa620874a64e7a6,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-09 02:04:53 PST From: Albert Organization: Pengüin Vill@ge Subject: Instantiating generics Date: Tue, 09 Dec 2003 11:02:31 +0100 User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Message-ID: Newsgroups: comp.lang.ada MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: docs19-251.menta.net X-Trace: 9 Dec 2003 11:11:10 +0100, docs19-251.menta.net Path: archiver1.google.com!news2.google.com!fu-berlin.de!news2.telebyte.nl!teleglobe.net!teleglobe.net!62.81.31.29.MISMATCH!cyclone.auna.com!news-feeder.eresmas.com!garse!news.cablecat.com!docs19-251.menta.net Xref: archiver1.google.com comp.lang.ada:3266 Date: 2003-12-09T11:02:31+01:00 List-Id: I'm trying to instantiate the Queue_Manager_1 example from 12.3 Ada Distillier, the problem is the function Is_Valid. with Queue_Manager_1; procedure Demostration is type O_Positive is tagged record Val:Positive; end record; function Is_Valid(Data:O_Positive) return Boolean is begin return True; end Is_Valid; package QMP is new Queue_Manager_1(Element=>O_Positive); begin null; end Demostration; Can anyone help me�. thanks Albert