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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ed3a51e96a1c868b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Using local storage pools... Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <7elam6trrv39c3p9iop4fiduqa1jrat4r4@4ax.com> <1s8rimsarxcf5$.11o58i7ssmfic.dlg@40tude.net> Date: Thu, 24 Feb 2011 10:26:26 +0100 Message-ID: <17i1ytb9bptzk$.1b6rl6rjp4p79.dlg@40tude.net> NNTP-Posting-Date: 24 Feb 2011 10:26:23 CET NNTP-Posting-Host: 773963b4.newsspool1.arcor-online.net X-Trace: DXC=_9DBn4<5koij5k5aEF7ISmic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbd2OU1aaAFVd[6LHn;2LCVn[ On Wed, 23 Feb 2011 23:55:05 +0000, Brian Drummond wrote: > The other : the shootout rules explicitly disallow implementing your own pool. Huh: type Nodes_Arena is array (1..) of aliased Node; Last_Allocated : Integer := 0; function Create return not null access Node is begin Last_Allocated := Last_Allocated + 1; return Nodes_Arena (Last_Allocated)'Access; end Create; This is it an implementation of arena. How can this be disallowed? > (But importing one from available libraries seems to be permitted; so is there a > suitable candidate?) You can try this one: http://www.dmitry-kazakov.de/ada/components.htm#7.1 -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de