comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Limits for Generic Formal Package paremeters with tagged types?
Date: 1996/07/21
Date: 1996-07-21T00:00:00+00:00	[thread overview]
Message-ID: <DuwvDJ.40D@world.std.com> (raw)
In-Reply-To: DurCzM.7v2@plato.ds.boeing.com


In article <DurCzM.7v2@plato.ds.boeing.com>,
Scott Moody <scott@plato.ds.boeing.com> wrote:
>
>Discussion on Layering and Generics and Generic Formal Package paremeters
>with tagged types:
>...

I apologize if I don't fully understand your question, but it sounds
like what you want is an array of Symbol'Class.  But that's not allowed
-- Ada wants all array elements to be of the same size.  So what you
need to do is have an array of Symbol_Ptr, where type Symbol_Ptr is
access all Symbol'Class.

I don't really see how the generic-ness in your example makes any
difference to this point -- maybe I'm missing the point.

- Bob




      parent reply	other threads:[~1996-07-21  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-18  0:00 Limits for Generic Formal Package paremeters with tagged types? Scott Moody
1996-07-19  0:00 ` Robert I. Eachus
1996-07-21  0:00 ` Robert A Duff [this message]
replies disabled

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