hashed array?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Nov 12 07:32:14 PST 2012


On 11/12/2012 03:53 PM, Andrej Mitrovic wrote:
> 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"

Can you give a bit more explanation of how that workaround would work?  I can't 
see how you would insert entries in that case ...

     StringSet s;

     s["one"] = .... ?



More information about the Digitalmars-d mailing list