Opinions: The Best and Worst of D (for a lecture/talk I intend to give)

Dominikus Dittes Scherkl via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 10 03:24:19 PDT 2014


Should of course be:

int compare2(uint x, int y)
{
    return (x > int.max) ? 1 : (cast(int)x - y);
}


More information about the Digitalmars-d-learn mailing list