comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Suggestion for Ada 0X - "Complete" Record Rep Clauses
Date: Mon, 10 Sep 2001 07:44:01 +0200
Date: 2001-09-10T07:44:01+02:00	[thread overview]
Message-ID: <87sndvsiqm.fsf@deneb.enyo.de> (raw)
In-Reply-To: tmCm7.2113$iH4.154993@ozemail.com.au

"Chris Miller" <chrismil@ozemail.com.au> writes:

> Record representation clauses (LRM13.5.1) allow the locations for the
> components of a record to be specified, but there is no way to ensure that
> the location for each and every field is specified. If you do not specify
> the location for a component then the compiler can put it anywhere. This is
> generally not what is wanted, if a rep clause is used then typically the
> location of all fields will need to be specified.

Specifying the representation only partially could be used in some
contexts, for example to rearrange some components so that they appear
in a single cache line.



  parent reply	other threads:[~2001-09-10  5:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09  1:08 Suggestion for Ada 0X - "Complete" Record Rep Clauses Chris Miller
2001-09-09 12:42 ` Marc A. Criley
2001-09-09 15:53 ` Robert Dewar
2001-09-10  5:44 ` Florian Weimer [this message]
2001-09-10 12:13   ` Marc A. Criley
2001-09-18 15:06   ` 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