comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: generic child package
Date: Sun, 23 Jul 2006 20:08:46 +0200
Date: 2006-07-23T20:08:46+02:00	[thread overview]
Message-ID: <87r70cxkgh.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 1153677426.833491.45220@b28g2000cwb.googlegroups.com

nblanpain@hotmail.com writes:
> yes excuse me :
>
> generic
>    type T_Toto is private;
>
> but are you sur it is :
>  with P_Child1 is new Parent.Child1;

Yes, that's correct.  Have you looked at the Wikibook chapter on
generics?  It is here:

http://en.wikibooks.org/wiki/Ada_Programming/Generics

> and not
> with P_Child1 is new Parent.Child1 (<>);

-- 
Ludovic Brenta.



  reply	other threads:[~2006-07-23 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-23  6:44 generic child package nblanpain
2006-07-23  7:24 ` Dmitry A. Kazakov
2006-07-23 17:57   ` nblanpain
2006-07-23 18:08     ` Ludovic Brenta [this message]
2006-07-24  7:26     ` Dmitry A. Kazakov
replies disabled

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