Making associatvie array from array of pairs

Dfr deflexor at yandex.ru
Wed Dec 25 07:27:04 PST 2013


On Wednesday, 25 December 2013 at 14:44:57 UTC, bearophile wrote:
> Dfr:
>
>> This example looks cleanest, but not compile with error:
>>
>> Error: no property 'assocArray' for type 
>> 'MapResult!(__lambda9, immutable(char[][])[])'
>
> It compiles for me.
>
> Bye,
> bearophile


Sorry, just forgot to import "std.array", now it works, thank you.


More information about the Digitalmars-d-learn mailing list