comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: Instantiating generics
Date: Tue, 9 Dec 2003 06:10:20 -0600
Date: 2003-12-09T06:10:20-06:00	[thread overview]
Message-ID: <RXiBb.5057$4t2.4635@bignews4.bellsouth.net> (raw)
In-Reply-To: pan.2003.12.09.10.02.31.801470@menta.net

We would be more able to help you if you told us what the
problem is -- e.g., what error message did you get from the
compiler?

"Albert" <weeper_MATEMLSPAM_@menta.net> wrote in message
news:pan.2003.12.09.10.02.31.801470@menta.net...
> 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
>
>
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada-france.org
> http://www.ada-france.org/mailman/listinfo/comp.lang.ada
>
>




  reply	other threads:[~2003-12-09 12:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-09 10:02 Instantiating generics Albert
2003-12-09 12:10 ` David C. Hoos [this message]
2003-12-10 10:36   ` Albert
2003-12-10 12:21     ` David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox