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: a07f3367d7,66fae8c862b81b17 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.186.20 with SMTP id cq20mr9628284qab.8.1353364668484; Mon, 19 Nov 2012 14:37:48 -0800 (PST) Received: by 10.49.75.9 with SMTP id y9mr1035725qev.9.1353364668420; Mon, 19 Nov 2012 14:37:48 -0800 (PST) Path: gf5ni1407qab.0!nntp.google.com!u2no13812404qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 19 Nov 2012 14:37:48 -0800 (PST) In-Reply-To: <1aWdnbcg_8-BzAzNnZ2dnUVZ_j6dnZ2d@giganews.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.250.78.92; posting-account=yikV-goAAACTWsgZxBw4iqS6BFfOmfrS NNTP-Posting-Host: 83.250.78.92 References: <1aWdnbcg_8-BzAzNnZ2dnUVZ_j6dnZ2d@giganews.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2a493838-ab30-4c4a-8bcc-2fc564a1ac11@googlegroups.com> Subject: Re: Copy vector in Ada From: Katarina Olsson Injection-Date: Mon, 19 Nov 2012 22:37:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-11-19T14:37:48-08:00 List-Id: Wow, thanks for all the answers and the interesting discussion. :-) I now feel convinced that it's safe to use the assignment operator for standard ada classes, unless there are pointer types inside the record (I reckon these have to be initialized to new objects if there is no possibility to avoid them).