Array initialization quiz

Marco Leise Marco.Leise at gmx.de
Tue Nov 29 11:41:45 PST 2011


Am 29.11.2011, 14:53 Uhr, schrieb bearophile <bearophileHUGS at lycos.com>:

> deadalnix:
>
>> No it has nothing to do with this bug.
>
> I tend to agree.
>
>
>> But actually, this exemple should
>> generate a warning at least, or being illegal eventually.
>
> I'd like that code to loop on all array 256 items once, and then stop :-)
>
> Bye,
> bearophile

Is it evil if I propose that 'i' should always be size_t and nothing else?


More information about the Digitalmars-d-learn mailing list