From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: children unity
Date: Tue, 06 Sep 2005 20:01:21 +0200
Date: 2005-09-06T20:01:21+02:00 [thread overview]
Message-ID: <281516988.lVlFm8Tpyh@linux1.krischik.com> (raw)
In-Reply-To: 1126025898.866369.318320@g47g2000cwa.googlegroups.com
nicolas.b wrote:
> this is an example :
>
> generic
> type Toto is private;
> package Father is
> ...
> end Father;
>
> generic
> type Titi is private;
> procedure Father.Children (...);
>
> My question : How can i use the children unity Father.Children ?
> package Inst_Father is new Father (Toto => ...);
> procedure Inst_Children is new Father.Children (Titi => ...); --
> compilation error ???
procedure Inst_Children is new Inst_Father.Children (Titi => ...); --
But really *any* tutorial tells you that!!
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
next prev parent reply other threads:[~2005-09-06 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-06 16:58 children unity nicolas.b
2005-09-06 18:01 ` Martin Krischik [this message]
2005-09-06 18:14 ` Ludovic Brenta
2005-09-06 18:17 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox