array of generic packages?
From: a malkiel (malkiel_at_wannet.net)
Date: 09/22/04
- Next message: Ludovic Brenta: "Re: array of generic packages?"
- Previous message: Ed Falis: "Re: ICFP2004 results are in"
- Next in thread: Ludovic Brenta: "Re: array of generic packages?"
- Reply: Ludovic Brenta: "Re: array of generic packages?"
- Reply: Stephen Leake: "Re: array of generic packages?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 04:03:11 +1000
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
- Next message: Ludovic Brenta: "Re: array of generic packages?"
- Previous message: Ed Falis: "Re: ICFP2004 results are in"
- Next in thread: Ludovic Brenta: "Re: array of generic packages?"
- Reply: Ludovic Brenta: "Re: array of generic packages?"
- Reply: Stephen Leake: "Re: array of generic packages?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|