comp.lang.ada
 help / color / mirror / Atom feed
From: "a malkiel" <malkiel@wannet.net>
Subject: array of generic packages?
Date: Thu, 23 Sep 2004 04:03:11 +1000
Date: 2004-09-23T04:03:11+10:00	[thread overview]
Message-ID: <4151be92@dnews.tpgi.com.au> (raw)

hi im somewhat new to ada. i've been trying to nut this one but can't seem 
to. Would anyone know if defining an "array of generic packages" is 
possible? What im looking for is something of the nature:

type shape_type is (circle, triangle);
package shapePointer(1) is new shape(circle);
package shapePointer(2) is new shape(triangle);

thanks in advance.
ciao, andrew 





             reply	other threads:[~2004-09-22 18:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-22 18:03 a malkiel [this message]
2004-09-22 18:26 ` array of generic packages? Ludovic Brenta
2004-09-23  2:19   ` a malkiel
2004-09-22 23:30 ` Stephen Leake
2004-09-23  2:15   ` a malkiel
2004-09-24 12:39     ` Peter Hermann
replies disabled

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