bearophile can say "i told you so" (re uint->int implicit conv)
bearophile
bearophileHUGS at lycos.com
Fri Mar 29 13:00:13 PDT 2013
> If you remove the implicit uint==>int assignment from D you
> have to add many cast() in the code. And casts are dangerous,
> maybe even more than implicit casts.
On the other hand I have not tried D with such change, so that's
just an hypothesis. And maybe a library-defined
toSigned()/toUnsigned() are enough here.
Bye,
bearophile
More information about the Digitalmars-d
mailing list