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,73175d2d01a1b1dd X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.38.38 with SMTP id d6mr3831872pbk.4.1317685262994; Mon, 03 Oct 2011 16:41:02 -0700 (PDT) Path: lh7ni10891pbb.0!nntp.google.com!news1.google.com!postnews.google.com!t16g2000yqm.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: subprogram must not be deeper than access type Date: Mon, 3 Oct 2011 16:39:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <20110925160442.399884a0@c-01b> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 X-Trace: posting.google.com 1317685261 26348 127.0.0.1 (3 Oct 2011 23:41:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 3 Oct 2011 23:41:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t16g2000yqm.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C),gzip(gfe) Xref: news1.google.com comp.lang.ada:18282 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-10-03T16:39:22-07:00 List-Id: On Oct 3, 4:30=A0pm, Yannick Duch=EAne (Hibou57) wrote: > Le Sun, 25 Sep 2011 16:04:42 +0200, Oliver Kleinke =A0 > a =E9crit: > > > Hi, > > > I am unsure but you might want to try it using an anonymous access to > > subprogram type, as described here > > ('05 Rationale, 3.4 - Downward Closures) > >http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-3... > > There are things I did not understand. > > > Ada 2005 overcomes the problem by introducing anonymous access to > > subprogram types. This was actually considered during the design of > > Ada 95 but it was not done at the time for two main reasons. Firstly, > > the implementation problems for those who were using display vectors > > rather than static links were considered a hurdle. > > Display vectors ? This might help: http://en.wikipedia.org/wiki/Call_stack -- Adam