checkedint call removal

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 27 13:20:52 PDT 2014


On 7/27/2014 6:52 AM, bearophile wrote:
> A possible piece of the solution is the recently suggested __trait(valueRange,
> exp), but alone that's not enough.

Instead of adding more language features, purpose existing ones:

     assert(exp >= min && exp <= max);



More information about the Digitalmars-d mailing list