From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:31a1:b0:6ce:d7be:496b with SMTP id bi33-20020a05620a31a100b006ced7be496bmr264410qkb.192.1663344213948; Fri, 16 Sep 2022 09:03:33 -0700 (PDT) X-Received: by 2002:a05:620a:444e:b0:6ce:968b:d460 with SMTP id w14-20020a05620a444e00b006ce968bd460mr4470115qkp.240.1663344212898; Fri, 16 Sep 2022 09:03:32 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 16 Sep 2022 09:03:32 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=149.90.69.202; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY NNTP-Posting-Host: 149.90.69.202 References: <6a8a1468-5148-49d7-b342-327f8eaf8097n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <23ae89d7-3f28-4f14-80bc-af794762c756n@googlegroups.com> Subject: Re: Non-standard functions in GNAT's Ada.Containers packages? From: Marius Amado-Alves Injection-Date: Fri, 16 Sep 2022 16:03:33 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2526 Xref: reader01.eternal-september.org comp.lang.ada:64345 List-Id: > That is cursors/iterators for you. They are nothing but dressed up=20 > pointers. Should never be there, IMO. (Dmitry) Indeed. I've participated in the initial Containers Ada Issue. Managed to g= et indefinite types in, but lost the fight against the C++STL copy-over (cf= . my paper in Ada-Europe 2004). > In my containers I use positive index 1.. instead. As it should be. I've been pondering using your containers for a long time.= Only reason I'm still using Ada's is that they come ready to use with the = language. I hate configuration management. But now with Alire I expect conf= iguration work be unavoidable, so probably I'll start using your library at= last:-) Read your B_Tree stuff recently. Cool stuff. The separation of sto= rage (RAM, disk...) and structure (vector, map...) still not clear cut. The= oretically storage pools could do this, but Ada does not help her self. I t= ried a design once with generics (instead of storage pools): also too verbo= se >=20 > --=20 > Regards,=20 > Dmitry A. Kazakov=20 > http://www.dmitry-kazakov.de