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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.128.112 with SMTP id e76mr12767328yhi.38.1401224367057; Tue, 27 May 2014 13:59:27 -0700 (PDT) X-Received: by 10.140.51.231 with SMTP id u94mr52483qga.34.1401224366786; Tue, 27 May 2014 13:59:26 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!c1no18586035igq.0!news-out.google.com!gi6ni15574igc.0!nntp.google.com!hl10no6488970igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 27 May 2014 13:59:26 -0700 (PDT) In-Reply-To: <43be22bf-904b-4fb4-b8a8-de5bcef03cbb@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 References: <43be22bf-904b-4fb4-b8a8-de5bcef03cbb@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0f0b0e01-ffd7-48b2-8411-095c05cc5502@googlegroups.com> Subject: Re: Empty Bounded Containers From: sbelmont700@gmail.com Injection-Date: Tue, 27 May 2014 20:59:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 1824 Xref: number.nntp.dca.giganews.com comp.lang.ada:186669 Date: 2014-05-27T13:59:26-07:00 List-Id: On Tuesday, May 27, 2014 10:50:04 AM UTC-4, Adam Beneschan wrote: > > As Randy pointed out, there *is* already a function like that, Copy, that was added in Ada 2012. > Ah, I had missed that as well. It was mostly just out of habit (as well as often forgetting the syntax) that I like to explicitly initialize every element of an aggregate, and it didn't occur to me that "copying" an "empty vector" would be equivalent. Thank you to everyone for your responses. -sb