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,57f8540942f8e060 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.mixmin.net!aioe.org!not-for-mail From: =?iso-8859-15?Q?=28Hibou57=29_Yannick_Duch=EAne?= Newsgroups: comp.lang.ada Subject: Re: Initialization and Finalization of limited object "returned" by a function Date: Fri, 12 Feb 2010 18:15:24 +0100 Organization: At Home Message-ID: References: <75a9f860-ad3c-49a0-b2a1-a8f1386e6ff6@x10g2000prk.googlegroups.com> <2801be3a-afd6-4d14-ad7f-feb23a511f02@a5g2000yqi.googlegroups.com> NNTP-Posting-Host: EKAflP0arbwuPhVBMVF1iA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.10 (Win32) Xref: g2news1.google.com comp.lang.ada:9175 Date: 2010-02-12T18:15:24+01:00 List-Id: Le Fri, 12 Feb 2010 16:10:19 +0100, Robert A Duff = a =E9crit: >>> Extended return statements are not so important for nonlimited types= , >>> but they do come in handy in that case, too. >> While this may be useful, if it was, to have a way to return none- >> limited as built-in-place, for efficiency purpose (just suggesting >> this be to investigated, I do not assert this could surely be done >> like this and as-is). > > Again, extended returns do NOT cause build-in-place. > For non-limited, the compiler may choose build-in-place > for efficiency in some cases. > > - Bob It was a suggestion (you seems to really be afraid of this possible = confusion) -- = Test