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,eca91508b02e7e97 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Amount of copying on returned constant objects From: Georg Bauhaus In-Reply-To: <5dntd6F35jc57U1@mid.individual.net> References: <5dfsfnF1qav8bU1@mid.individual.net> <46730bf5$0$23134$9b4e6d93@newsspool1.arcor-online.net> <5dntd6F35jc57U1@mid.individual.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1182191692.7759.12.camel@kartoffel> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Date: Mon, 18 Jun 2007 20:34:52 +0200 Organization: Arcor NNTP-Posting-Date: 18 Jun 2007 20:34:52 CEST NNTP-Posting-Host: c4707773.newsspool4.arcor-online.net X-Trace: DXC=IGUfEMDf5g7kUFX=Y?aLP;4IUK On Mon, 2007-06-18 at 20:23 +0300, Alex R. Mosteo wrote: > type Constant_Access is access constant Element_Type; > function Element (Key : Key_Type) return Constant_Access; IIRC, a similar idea was in one of Matt's proposals.