comp.lang.ada
 help / color / mirror / Atom feed
From: Lutz Donnerhacke <lutz@iks-jena.de>
Subject: Re: Representation Freezing Rules vs. Storage management
Date: Fri, 16 Apr 2004 08:24:38 +0000 (UTC)
Date: 2004-04-16T08:24:38+00:00	[thread overview]
Message-ID: <slrnc7v626.o6.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 3202ddcf.0404150636.24cad17b@posting.google.com

* Reinhold May wrote:
> The application has definitions like:
>
>    a : array(1 .. 10) of integer;

type A_Array is array(1 .. 10) of Integer;
a : A_Array;
for a'Address use get_address(A_Array'Size, A_Array'Alignment);

> the type is defined implicitely rather than explicitely.  So the
> type would have to be defined explicitly on each occurrence.

Ack.

> The type of a variable is not always easy to find out and trying
> that would require a full  Ada  parser  (but  of  course  that's
> feasible).

You do not know what you type in?

> Any pointer into the right direction is very welcome.

Use dynamic allocation from a user defined pool.



      reply	other threads:[~2004-04-16  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 14:36 Representation Freezing Rules vs. Storage management Reinhold May
2004-04-16  8:24 ` Lutz Donnerhacke [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