From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2510538eb4348710 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-19 12:55:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: A generic list package Date: 19 Sep 2001 20:45:09 +0100 Organization: Pushface Message-ID: References: <87ae0dp7gn.fsf@deneb.enyo.de> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1000929284 nnrp-02:10015 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 19 Sep 2001 19:45:09 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:13188 Date: 2001-09-19T19:45:09+00:00 List-Id: 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?