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,f0be8eebb2993001 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada 2012 : aliased parameters ? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Mon, 28 Mar 2011 13:56:19 +0200 Message-ID: NNTP-Posting-Date: 28 Mar 2011 13:56:19 CEST NNTP-Posting-Host: 93f87771.newsspool2.arcor-online.net X-Trace: DXC=PZk2]Di<2ja<6cDJZfMd_cA9EHlD;3Ycb4Fo<]lROoRa8kF On Mon, 28 Mar 2011 13:47:22 +0200, Yannick Duch�ne (Hibou57) wrote: > Quote from Ada 2012: > > Parameters can now be explicitly aliased, allowing parts of > function results to designate parameters and forcing > by-reference parameter passing. Interesting. How to force by-reference something allocated in a register? Yes one could copy the actual value and then pass a reference to the copy, but that is not what I would call "by-reference." -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de