comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: A generic list package
Date: 19 Sep 2001 20:45:09 +0100
Date: 2001-09-19T19:45:09+00:00	[thread overview]
Message-ID: <x7vzo7rdkxm.fsf@smaug.pushface.org> (raw)
In-Reply-To: slrn9qgkec.jt.lutz@taranis.iks-jena.de

lutz@iks-jena.de (Lutz Donnerhacke) writes:

> * Simon Wright wrote:
> >lutz@iks-jena.de (Lutz Donnerhacke) writes:
> >> I prefer this the other way around:
> >> 
> >>         +------------------+
> >>         |    actual data   |
> >>         |                  |
> >>         | fields specific  |
> >>         | to the container |
> >> 
> >> This allows me to cast pointers ;-)
> >
> >Eeww.
> >
> >I hope you put representation clauses on your records, then.
> 
> Not necessary.

What makes you think that the order the compiler lays out the record
is the same as the order you wrote the components in?



  reply	other threads:[~2001-09-19 19:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-02 22:13 A generic list package (long) Florian Weimer
2001-09-02 22:29 ` Stephen Leake
2001-09-03  9:53   ` Florian Weimer
2001-09-03 16:18   ` A generic list package Florian Weimer
2001-09-03 17:16     ` Jeffrey Carter
2001-09-04  9:40       ` Florian Weimer
2001-09-04 16:42     ` Stephen Leake
2001-09-18 14:58     ` Lutz Donnerhacke
2001-09-18 19:07       ` Simon Wright
2001-09-19  8:05         ` Lutz Donnerhacke
2001-09-19 19:45           ` Simon Wright [this message]
2001-09-20  8:21             ` Lutz Donnerhacke
replies disabled

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