comp.lang.ada
 help / color / mirror / Atom feed
From: sbelmont700@gmail.com
Subject: Re: Empty Bounded Containers
Date: Tue, 27 May 2014 13:59:26 -0700 (PDT)
Date: 2014-05-27T13:59:26-07:00	[thread overview]
Message-ID: <0f0b0e01-ffd7-48b2-8411-095c05cc5502@googlegroups.com> (raw)
In-Reply-To: <43be22bf-904b-4fb4-b8a8-de5bcef03cbb@googlegroups.com>

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


  reply	other threads:[~2014-05-27 20:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23  0:20 Empty Bounded Containers sbelmont700
2014-05-23  1:05 ` Adam Beneschan
2014-05-27 14:50   ` Adam Beneschan
2014-05-27 20:59     ` sbelmont700 [this message]
2014-05-23  6:00 ` Simon Wright
2014-05-23 15:37   ` Adam Beneschan
2014-05-23 17:54     ` Simon Wright
2014-05-23 21:45 ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox