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,75d2eb9e2e52a8c5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f15g2000pro.googlegroups.com!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: Problem where a function is invoked once but called twice (when invocation is within an allocator). Date: Wed, 4 May 2011 23:12:08 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3cbef000-eeab-4007-ab09-22ec9e8b5bf0@f15g2000pro.googlegroups.com> References: NNTP-Posting-Host: 110.174.207.98 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1304575928 26597 127.0.0.1 (5 May 2011 06:12:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 5 May 2011 06:12:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f15g2000pro.googlegroups.com; posting-host=110.174.207.98; posting-account=Uqu8JwoAAADsGt83KB06QWEVsML1fPO7 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Ubuntu/10.04 Chromium/11.0.696.57 Chrome/11.0.696.57 Safari/534.24,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19164 Date: 2011-05-04T23:12:08-07:00 List-Id: On May 5, 3:43=A0pm, "J-P. Rosen" wrote: > > Wouldn't Image be controlled by any chance? In that case, the assignment > may involve the creation of an intermediate object Not in this case, no. 'opengl.Image' is fairly simple array type with 2 unconstrained indices ... type Image is array (Index_t range <>, Index_t range <>) of Color;