comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <mheaney@on2.com>
Subject: Re: Booch Components 20020117
Date: Wed, 6 Feb 2002 18:35:25 -0500
Date: 2002-02-06T18:35:25-05:00	[thread overview]
Message-ID: <u63f4geekmpeb5@corp.supernews.com> (raw)
In-Reply-To: x7vlmeuddd6.fsf@smaug.pushface.org


"Simon Wright" <simon@pushface.org> wrote in message
news:x7vlmeuddd6.fsf@smaug.pushface.org...
>     The way Storage Management is specified has changed significantly:
>     you now supply a single generic parameter of type
>     System.Storage_Pools.Root_Storage_Pool'Class. This will be painful
>     to start with, but should simplify matters in the long run.

I had trouble doing this:

package Pools is
   type Pool_Type is new Root_Storage_Pool with record ...;
   Pool : Pool_Type;
end;

generic
   Pool : in out Root_Storage_Pool'Class;
package GP is


with Pools;
package P is new GP (Pools.Pool);

The compiler complained that my Pool object wasn't the correct type.  How
are you instantiating your generics which accept a generic formal pool
object?







  reply	other threads:[~2002-02-06 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-19  7:11 Booch Components 20020117 Simon Wright
2002-02-06 23:35 ` Matthew Heaney [this message]
2002-02-07 15:12   ` Stephen Leake
2002-02-10 12:32     ` Simon Wright
replies disabled

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