From: Christoph Grein <christoph.grein@eurocopter.de>
To: comp.lang.ada@ada.eu.org
Subject: Re: (generic) child package of generic package; intantiation of
Date: Wed, 31 Jan 2001 06:34:36 +0100 (MET)
Date: 2001-01-31T06:34:36+01:00 [thread overview]
Message-ID: <mailman.980919632.21048.comp.lang.ada@ada.eu.org> (raw)
Peter Hendén wrote:
> with GenParent.GenChild; -- have to with the generic child package (1)
>
> package InstantiatedParent.InstantiatedChild is new
> InstantiatedParent.GenChild;
That's correct. But you need not instantiate as a child, you can instantiate in
any hierarchy:
with GenParent.GenChild;
with InstantiatedParent; -- you need then also this
package Instantiated_Anywhere is new InstantiatedParent.GenChild;
next reply other threads:[~2001-01-31 5:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 5:34 Christoph Grein [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-29 16:30 (generic) child package of generic package; intantiation of Peter Hend�n
2001-01-29 17:20 ` Marc A. Criley
2001-01-29 17:24 ` mark.biggar
2001-01-29 17:25 ` Pat Rogers
2001-01-29 20:46 ` Peter Hend�n
2001-01-30 16:56 ` Tucker Taft
2001-01-30 21:33 ` Peter Hend�n
2001-01-30 4:48 ` Jeffrey Carter
2001-01-30 11:53 ` Peter Hend�n
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox