Associative Arrays in the data segment

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 10 05:14:39 PDT 2015


On 2015-04-10 11:19, Daniel Murphy wrote:

> 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.

Cool :)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list