From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Missing features in Ada.Containers
Date: Fri, 08 Oct 2004 14:43:27 +0200
Date: 2004-10-08T14:43:27+02:00 [thread overview]
Message-ID: <41668B6F.10807@mailinator.com> (raw)
In-Reply-To: <41666578$1_1@baen1673807.greenlnk.net>
Martin Dowie wrote:
> 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"?
That's it. I knew I was missing something :( When I looked at the
package I missed that the Key was unconstrained too.
next prev parent reply other threads:[~2004-10-08 12:43 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
2004-10-08 12:43 ` Alex R. Mosteo [this message]
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