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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,bed01d177eaef486 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.100.137 with SMTP id y9mr870082qan.2.1343314946063; Thu, 26 Jul 2012 08:02:26 -0700 (PDT) Received: by 10.66.89.196 with SMTP id bq4mr1793728pab.26.1343314003907; Thu, 26 Jul 2012 07:46:43 -0700 (PDT) Path: a15ni105485768qag.0!nntp.google.com!q21no17164732qas.0!news-out.google.com!b9ni64857646pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!border6.newsrouter.astraweb.com!news.astraweb.com!border6.a.newsrouter.astraweb.com!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsfeeder.ewetel.de!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Keean Schupke Newsgroups: comp.lang.ada Subject: Re: Signature Package With Generic Proceedure Date: Mon, 23 Jul 2012 12:41:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: <30c7b58e-d1c2-435f-95f6-c227bdb10441@googlegroups.com> References: <045f7b44-2a4a-4292-80fd-0b6bc8ee3465@googlegroups.com> <88734b25-68e5-42b2-89ea-0c0e3fc9fbc5@googlegroups.com> <93f32ea9-a61d-4148-83be-258ae0676cac@googlegroups.com> <79925d0c-b2dd-44a3-9451-48f0ee19485f@googlegroups.com> NNTP-Posting-Host: 82.44.19.199 Mime-Version: 1.0 X-Trace: posting.google.com 1343072498 13988 127.0.0.1 (23 Jul 2012 19:41:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Jul 2012 19:41:38 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.44.19.199; posting-account=T5Z2vAoAAAB8ExE3yV3f56dVATtEMNcM User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-23T12:41:38-07:00 List-Id: On Monday, 23 July 2012 10:18:11 UTC+1, Martin wrote: > On Monday, July 23, 2012 8:30:15 AM UTC+1, Keean Schupke wrote: > > Interestingly the only reason for needing the generic procedure in a signature > > type is to avoid returning access types from the container to allow update- > > in-place. Am I trying to hard to conform to the &#39;avoid access types&#39; > > rule for Ada? > > > Have you tried using the new Ada2012 aspects "Variable_Indexing", "Constant_Indexing" and "Implicit_Derefence"? > > -- Martin These all require a tagged type, which I would rather avoid. Cheers, Keean.