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-Thread: 103376,9ce5fb49dc74582f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Message-ID: <4561DFF8.5000904@obry.net> Date: Mon, 20 Nov 2006 18:03:52 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: "Alex R. Mosteo" Subject: Re: generic question References: <1163959439.299036.129940@e3g2000cwe.googlegroups.com> <87mz6nnt4v.fsf@ludovic-brenta.org> <20061119202320.19149a2f@cube.tz.axivion.com> <4560D5BE.5060508@obry.net> <4sdejbFuovi3U1@mid.individual.net> In-Reply-To: <4sdejbFuovi3U1@mid.individual.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 20 Nov 2006 18:03:53 CET NNTP-Posting-Host: 82.120.144.196 X-Trace: 1164042233 news.orange.fr 25910 82.120.144.196:2358 X-Complaints-To: abuse@orange.fr Path: g2news2.google.com!news2.google.com!news.germany.com!news.ecp.fr!feed.ac-versailles.fr!uvsq.fr!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Xref: g2news2.google.com comp.lang.ada:7581 Date: 2006-11-20T18:03:53+01:00 List-Id: Alex R. Mosteo a �crit : > Isn't enough to have a wrapper access type at the point of deallocation? Or > are some scope rules preventing this? Yes and no. The anonymous access types and named access types won't use the same memory pool. So doing this will not be portable. I think it will work with current compilers though... Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595