From: porton@ex-code.com (Victor Porton)
Subject: Re: Unchecked_Conversion and alignment
Date: Tue, 21 Jan 2003 23:50:42 +0500
Date: 2003-01-21T19:42:13+00:00 [thread overview]
Message-ID: <3e2da295$0$33922$bed64819@news.gradwell.net> (raw)
In-Reply-To: 3e2cf0e4$0$33922$bed64819@news.gradwell.net
In article <uznpu4jkx.fsf@nasa.gov>,
Stephen Leake <Stephen.A.Leake@nasa.gov> writes:
> porton@ex-code.com (Victor Porton) writes:
>
>> 13.9.5 requests "S'Alignment = Target'Alignment" (for source and target
>> of Unchecked_Conversion).
>>
>> So, it appears impossible to keep several objects of arbitrary types in
>> an array of an array of System.Storage_Elements.Storage_Array (as these
>> alignments are not necessarily equal).
>>
>> To bad! It would be right to lessen the Standard request to only that
>> S'Address mod Target'Alignment = 0.
>
> You can probably get what you really want via
> Address_To_Access_Conversions.
Even worse. Basically Standard warrants getting correct access only
from these addresses which we got from an access.
> It would help if you said why you want to keep object in arrays of
> Storage_Elements.
I make my own storage pool which uses the standard pool.
I allocate by "new Storage_Array(1..XXX)".
next prev parent reply other threads:[~2003-01-21 18:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-21 7:01 Unchecked_Conversion and alignment Victor Porton
2003-01-21 15:18 ` Stephen Leake
2003-01-21 15:59 ` Lutz Donnerhacke
2003-01-21 18:50 ` Victor Porton [this message]
2003-01-22 22:49 ` Simon Wright
2003-01-23 17:11 ` Stephen Leake
2003-01-21 19:39 ` Robert A Duff
2003-01-21 19:41 ` Jeffrey Carter
2003-01-21 21:04 ` Victor Porton
2003-01-21 21:15 ` Victor Porton
2003-01-23 21:03 ` Victor Porton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox