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,64a170311efeb61f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-13 15:56:07 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!loops.cs.wisc.edu!newsfeed.mathworks.com!news.mathworks.com!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Storage Pool Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Wed, 13 Jun 2001 22:55:40 GMT References: Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: archiver1.google.com comp.lang.ada:8701 Date: 2001-06-13T22:55:40+00:00 List-Id: ANH_VO@udlp.com writes: > Is it correct to assume that Size_In_Storage_Element mod Alignment = 0 for both > subprograms Allocate and Deallocate for any type derived from Root_Storage_Pool > as shown below No. But you can write a storage pool that requires that, and only use it for types that obey that rule. I have written storage pools that assume Alignment = 4 (and pragma-assert so). - Bob