c style casts

Warwick via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 15 02:16:41 PST 2016


I though C style casts were not supported? But when I accidentaly 
did

int i;
if (uint(i) < length) ....

it compiled and worked fine. Whys that?


More information about the Digitalmars-d-learn mailing list