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=-2.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a760d4523f3aea17 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-15 06:38:18 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!proxad.net!freenix!enst!enst.fr!not-for-mail From: ANH_VO@udlp.com Newsgroups: comp.lang.ada Subject: Re[2]: Storage Pool Date: Fri, 15 Jun 2001 06:28:18 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 992612297 70031 137.194.161.2 (15 Jun 2001 13:38:17 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 15 Jun 2001 13:38:17 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: Content-Description: cc:Mail note part Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:8776 Date: 2001-06-15T06:28:18-05:00 Randy, Thank you for your advice. I have decided to abandone this idea. Instead, I always calculate the alignment in any circumtances. Anh Vo ____________________Reply Separator____________________ Subject: Re: Storage Pool Author: "Randy Brukardt" Date: 6/14/01 8:02 PM ANH_VO@udlp.com wrote in message ... >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 I don't think you should assume anything not required by the reference manual. And certainly this is not required by the reference manual. Unless you want your code to work only with a particular implementation. Randy. GNAT /= Ada 95 _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada.eu.org http://ada.eu.org/mailman/listinfo/comp.lang.ada Received: from portal.udlp.com ([10.1.1.245]) by ccmail.udlp.com with SMTP (IMA Internet Exchange 3.14) id 006D97CD; Thu, 14 Jun 2001 20:06:18 -0500 Received: from portal.udlp.com (root@localhost) by portal.udlp.com with ESMTP id UAA12331 for ; Thu, 14 Jun 2001 20:06:18 -0500 (CDT) Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by portal.udlp.com with ESMTP id UAA12327 for ; Thu, 14 Jun 2001 20:06:17 -0500 (CDT) Received: from marvin.enst.fr (localhost [127.0.0.1]) by ada.eu.org (Postfix) with ESMTP id 554FF190A4; Fri, 15 Jun 2001 03:06:18 +0200 (CEST) Path: enst.fr!enst!fr.usenet-edu.net!usenet-edu.net!news-spur1.maxwell.syr.edu!news.ma xwell.syr.edu!howland.erols.net!portc.blue.aol.com.MISMATCH!portc03.blue.aol.com !peerfeed.news.psi.net!filter.news.psi.net!reader.dist.news.psi.net!client!not-f or-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: Storage Pool Lines: 21 X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 Message-ID: NNTP-Posting-Host: 156.46.62.124 X-Trace: client 992566941 156.46.62.124 (Thu, 14 Jun 2001 21:02:21 EDT) NNTP-Posting-Date: Thu, 14 Jun 2001 21:02:21 EDT Xref: enst.fr comp.lang.ada:90016 To: comp.lang.ada@ada.eu.org Sender: comp.lang.ada-admin@ada.eu.org Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk Reply-To: comp.lang.ada@ada.eu.org List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Date: Thu, 14 Jun 2001 20:02:39 -0500