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,f0a123883ff0cb0f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.224.220.12 with SMTP id hw12mr14307279qab.8.1349768832681; Tue, 09 Oct 2012 00:47:12 -0700 (PDT) Received: by 10.236.149.66 with SMTP id w42mr1934731yhj.18.1349768832577; Tue, 09 Oct 2012 00:47:12 -0700 (PDT) Path: r17ni10659446qap.0!nntp.google.com!l8no31723343qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 9 Oct 2012 00:47:12 -0700 (PDT) In-Reply-To: <85fw5ojq6f.fsf@stephe-leake.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=195.182.34.201; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 195.182.34.201 References: <85fw5ojq6f.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <607b8e44-b8e6-4020-ae70-cd2d95ba2595@googlegroups.com> Subject: Re: API design considerations - variable-length array in record type From: Maciej Sobczak Injection-Date: Tue, 09 Oct 2012 07:47:12 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: 2012-10-09T00:47:12-07:00 List-Id: W dniu wtorek, 9 pa=C5=BAdziernika 2012 05:10:49 UTC+2 u=C5=BCytkownik Step= hen Leake napisa=C5=82: > Ada.Containers.Bounded_Vectors meets these requirements. No, because there is no predefined upper bound on the length of array. I have to admit that the idea with Indefinite_Holders looks the most attrac= tive and the essential parts of this solution are very easy to implement. --=20 Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com