associativeArray.toHash()

Michiel nomail at please.com
Wed Feb 21 17:21:33 PST 2007


I'm now implementing the toHash() function of my new Set class. But I'm
not sure how to extract hash-information from an associative array of
which the key-type can be anything. The values are irrelevant. So you
might see the problem as extracting hash-information from its .keys array.

I'm sure the hash-information of its key-type can be retrieved, since
that's how the associative array works in the first place. How do I
retrieve it manually?

Thanks!

-- 
Michiel



More information about the Digitalmars-d mailing list