comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Suggestion for Ada 0X - "Complete" Record Rep Clauses
Date: Tue, 18 Sep 2001 15:06:46 +0000 (UTC)
Date: 2001-09-18T15:06:46+00:00	[thread overview]
Message-ID: <slrn9qeoo1.m0.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 87sndvsiqm.fsf@deneb.enyo.de

* Florian Weimer wrote:
>"Chris Miller" <chrismil@ozemail.com.au> writes:
>> Record representation clauses (LRM13.5.1) allow the locations for the
>
>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.

Other use:

   subtype length is Integer range 0 .. 255;
   type pstring (len : length) is record
      value : string (1 .. len);
   end record;
   
   for pstring use record
      len at 0 range 0 .. 7;
   end record;


-- 
   Mailbox der letzten vier Wochen kommentarlos in den Orkus getreten.
   Wichtige Anfragen bitte nochmal senden. Unter Angabe von Msg-ID oder
   markanten Suchworten, kann ich die Mails jedoch heraussuchen.



      parent reply	other threads:[~2001-09-18 15:06 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
2001-09-10 12:13   ` Marc A. Criley
2001-09-18 15:06   ` 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