From: "Egil Høvik" <egilhovik@hotmail.com>
Subject: Re: API design considerations - variable-length array in record type
Date: Mon, 8 Oct 2012 04:29:26 -0700 (PDT)
Date: 2012-10-08T04:29:26-07:00 [thread overview]
Message-ID: <c8efadb7-fe04-4278-a866-516d63de389d@googlegroups.com> (raw)
In-Reply-To: <c40023e6-e7d1-431f-8759-5ac224c0aa1f@googlegroups.com>
On Monday, October 8, 2012 11:03:04 AM UTC+2, Maciej Sobczak wrote:
>
> A straightforward choice is a predefined instantiation of Ada.Containers.Vectors for Integer and this would be probably the least surprising, especially in the context of Y : Unbounded_String, but at the same time I'm open to consider some more lightweight alternatives.
>
If you don't mind using Ada 2012 packages, there's also Ada.Containers.Indefinite_Holders (RM A.18.18).
I haven't used it myself yet, so I can't say anything about how lightweight it is compared to Vector.
--
~egilhh
next prev parent reply other threads:[~2012-10-08 11:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 9:03 API design considerations - variable-length array in record type Maciej Sobczak
2012-10-08 11:13 ` Simon Wright
2012-10-08 11:29 ` Egil Høvik [this message]
2012-10-08 11:53 ` Maciej Sobczak
2012-10-08 14:37 ` Tero Koskinen
2012-10-09 2:02 ` Shark8
2012-10-09 5:16 ` Adam Beneschan
2012-10-09 5:45 ` Shark8
2012-10-09 5:42 ` Niklas Holsti
2012-10-09 3:10 ` Stephen Leake
2012-10-09 7:47 ` Maciej Sobczak
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox