comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@baesystems.com>
Subject: Re: Missing features in Ada.Containers
Date: Fri, 8 Oct 2004 11:07:34 +0100
Date: 2004-10-08T11:07:34+01:00	[thread overview]
Message-ID: <41666578$1_1@baen1673807.greenlnk.net> (raw)
In-Reply-To: 416657E2.9050503@mailinator.com

Alex R. Mosteo wrote:
> 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.

Can't you use "Ada.Containers.Indefinite_Hashed_Maps"?





  parent reply	other threads:[~2004-10-08 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08  9:03 Missing features in Ada.Containers Alex R. Mosteo
2004-10-08  9:49 ` Martin Dowie
2004-10-08 12:45   ` Alex R. Mosteo
2004-10-08 15:04     ` Martin Dowie
2004-10-08 10:07 ` Martin Dowie [this message]
2004-10-08 12:43   ` Alex R. Mosteo
2004-10-08 14:57 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox