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,c08a7609345f4e5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Newsgroups: comp.lang.ada Subject: Re: Limited use for limited with? References: <853314bc-0f79-435f-86a5-d7bcdd610731@c10g2000yqh.googlegroups.com> <82y6ajg07m.fsf@stephe-leake.org> <82ocb6ushq.fsf@stephe-leake.org> Date: Thu, 07 Oct 2010 20:27:11 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Martin Krischik" Organization: Martin Krischik, Softwareentwicklung Message-ID: User-Agent: Opera Mail/10.62 (MacIntel) NNTP-Posting-Host: 89.236.173.3 X-Trace: news.sunsite.dk DXC=^`kjibRA2SYKP Am 07.10.2010, 13:55 Uhr, schrieb Stephen Leake : > Exactly. Suppose we have the following: > > type My_Type is record ... end record; > type My_Access_Type is access all My_Type; > > procedure Foo_One (A : access My_Type); > > procedure Foo_Two (A : My_Access_Type); > > > Inside Foo_Two, we know that the accessibility level of A is the same as > the declaration of My_Access_Type, Are you realy sure about that? My_Access_Type is an access *all* and could point to an aliased value on the stack. Martin -- Martin Krischik mailto://krischik@users.sourceforge.net https://sourceforge.net/users/krischik