hashed array?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Nov 12 06:53:10 PST 2012


On 11/12/12, monarch_dodra <monarchdodra at gmail.com> wrote:
> I've noticed though it has no built-in "hashed container" for
> when you just need to store unique elements, but without any
> specific data associated (lists of names, for example).

You probably mean a Set? I think we could really use some syntax
support for sets. Otherwise people use workarounds like "alias
void[0][string] StringSet", and wrap such a type in a struct with
operator overloads to emulate the built-in hash syntax.


More information about the Digitalmars-d mailing list