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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,672b169dc220673a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.195.165 with SMTP id if5mr12833003pbc.1.1337323989227; Thu, 17 May 2012 23:53:09 -0700 (PDT) Path: pr3ni243pbb.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Marius Amado-Alves Newsgroups: comp.lang.ada Subject: Re: Vector (container) initialization: the schizophrenic ampersand Date: Thu, 17 May 2012 23:51:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <28845c63-b06c-4ac2-b5d5-e408c0ff4b7f@googlegroups.com> References: <10616734.43.1337286031745.JavaMail.geo-discussion-forums@vbjy7> <70510fa1-e554-44a7-9364-e745674c1bda@googlegroups.com> NNTP-Posting-Host: 188.80.82.138 Mime-Version: 1.0 X-Trace: posting.google.com 1337323989 26517 127.0.0.1 (18 May 2012 06:53:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 May 2012 06:53:09 +0000 (UTC) In-Reply-To: <70510fa1-e554-44a7-9364-e745674c1bda@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.80.82.138; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-05-17T23:51:52-07:00 List-Id: Adam is right: it is confusion with the predefined "&" for arrays, when the elements are arrays. (But the compiler error messages indicate undecision only between the two Vectors "&" functions.) So my new solution is function "+" (L : My_Vectors.Vector; R : My_Element_Type) renames My_Vectors."&"; function "+" (L, R : My_Element_Type) renames My_Vectors."&"; V : My_Vectors.Vector := Element1 + Element2 + Element3; A bit less inelegant. /* But more than parenthesis or T'(...) in my view. */ Thanks a lot. This group is outstanding.