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.70.131 with SMTP id d3mr12449310qaj.0.1349697195794; Mon, 08 Oct 2012 04:53:15 -0700 (PDT) Received: by 10.236.118.82 with SMTP id k58mr1643522yhh.1.1349697195771; Mon, 08 Oct 2012 04:53:15 -0700 (PDT) Path: r17ni19qap.0!nntp.google.com!l8no31020291qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Oct 2012 04:53:15 -0700 (PDT) In-Reply-To: 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: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: API design considerations - variable-length array in record type From: Maciej Sobczak Injection-Date: Mon, 08 Oct 2012 11:53:15 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: 2012-10-08T04:53:15-07:00 List-Id: Hi Egil, W dniu poniedzia=C5=82ek, 8 pa=C5=BAdziernika 2012 13:29:26 UTC+2 u=C5=BCyt= kownik Egil H=C3=B8vik napisa=C5=82: > If you don't mind using Ada 2012 packages, there's also Ada.Containers.In= definite_Holders (RM A.18.18). That would be a perfectly justified choice, except for the fact that this i= s a library code, which is intended for wider use and relying on Ada 2012 w= ould be too constraining. Still, a possible approach would be to (re)implement Indefinite_Holders as = a supporting package and at some point in the future switch to the standard= package with minimal or no impact. I will seriously take it into considera= tion. Regards, --=20 Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com