New to D

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 22 02:04:56 PDT 2016


On Saturday, 22 October 2016 at 08:05:12 UTC, Daniel Kozak wrote:

> uint[string] dictionary;
> should be
> uint[size_t] dictionary;
>
> because size_t is 32bit on x86 system and 64bit on x86_64
> and you are trying to put array length to dictionary which is 
> size_t

I believe you meant:

size_t[string];


More information about the Digitalmars-d-learn mailing list