checkedint call removal
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jul 27 21:44:03 PDT 2014
On 7/27/2014 1:54 PM, bearophile wrote:
> Walter Bright:
>
>> Instead of adding more language features, purpose existing ones:
>>
>> assert(exp >= min && exp <= max);
>
> I don't see how this can solve the problem I have discussed. Please explain better.
That tells the compiler that the exp is within min and max after that point.
More information about the Digitalmars-d
mailing list