Associative Arrays in the data segment
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 10 02:19:36 PDT 2015
"Jacob Carlborg" wrote in message news:mg8296$q6r$1 at digitalmars.com...
> Yes. Will there be the same limitations on the values as on the keys?
No, values can be anything that is semantically valid and can currently be
put in the data segment. The currently limited selection of key types is
because the hashing needs to be re-implemented in the compiler.
eg Object[int] and int[int][int] both work fine.
More information about the Digitalmars-d
mailing list