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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7502ddf2c6c41330,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Missing features in Ada.Containers Date: Fri, 08 Oct 2004 11:03:30 +0200 Message-ID: <416657E2.9050503@mailinator.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de MmXRCg4Yzs76DExIOmE4YA/VrPmrVQAPAgyw7XF4WPb9PEWxc= User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en Xref: g2news1.google.com comp.lang.ada:4916 Date: 2004-10-08T11:03:30+02:00 List-Id: Hi, another thread as reminded me of some things that I find strange in the new Ada.Containers. Maybe the implementation I'm using is still incomplete or I'm missing something in the new files (I used Charles extensively). Please post your comments. Of the top of my head I find notable the absence of the "hashed strings" container. Now it seems you're alone with a "hashed map" whose keys are generic of constrained nature. Thus you must make some leaps to have the old (and in my case, most used) hashed string container. Indeed it requires ugly conversions between the key type, String, defining the hashing function simply to reuse the Ada.Hash_String, etc. It smells so wrong to me that I'm almost sure I'm missing something obvious here. Another bizarre (I suppose it was discussed in the mettings) novelty (but really of minor relevance as I see it) is that the "sorted maps" functionality is now a child package of the "sorted sets". Not only this requires now two instantiations to get a "sorted map" but it imposes the use of a "sorted set" even if you don't want one? I know these comments, accurate or not, come too late... but I've just started to use these new containers and even if I did read the past discussions about the AI.302, I didn't know the specifics. Best regards, A. Mosteo.