comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Confused about class-wide types
Date: Mon, 21 Mar 2016 16:54:38 -0500
Date: 2016-03-21T16:54:38-05:00	[thread overview]
Message-ID: <ncpqiu$mf3$1@loke.gir.dk> (raw)
In-Reply-To: c5f5d5ac-89c4-4b60-9388-f461ed69eb0e@googlegroups.com

"Shark8" <onewingedshark@gmail.com> wrote in message 
news:c5f5d5ac-89c4-4b60-9388-f461ed69eb0e@googlegroups.com...
>On Sunday, March 20, 2016 at 5:16:24 AM UTC-6, Mart van de Wege wrote:
>>    package Events is new Ada.Containers.Vectors ( Index_Type => Natural,
>> Element_Type => Event_Ptr);
>
>If you are using Ada 2012, then you can change "Events" to 
>Ada.Containers.Indefinite_Vectors ...

Indefinite_Vectors was actually introduced with the original containers 
library in Ada 2005; you don't need Ada 2012 to use it. (Since there are a 
number of non-GNAT compilers that claim to support Ada 2005, using it 
doesn't lock you in quite as much.)

                                                 Randy.



      parent reply	other threads:[~2016-03-21 21:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20 11:15 Confused about class-wide types Mart van de Wege
2016-03-20 12:29 ` Dmitry A. Kazakov
2016-03-20 13:58   ` Mart van de Wege
2016-03-20 14:26     ` Dmitry A. Kazakov
2016-03-20 12:46 ` Simon Wright
2016-03-20 14:01   ` Mart van de Wege
2016-03-20 13:18 ` Shark8
2016-03-20 13:56   ` Mart van de Wege
2016-03-21 21:54   ` Randy Brukardt [this message]
replies disabled

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