checkedint call removal

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 30 18:28:07 PDT 2014


On 7/30/2014 5:50 PM, Tobias Müller wrote:
> Walter Bright <newshound2 at digitalmars.com> wrote:
>> On 7/30/2014 3:53 PM, Artur Skawina via Digitalmars-d wrote:
>>> No, with the assert definition you're proposing, it won't. It would
>>> be allowed to optimize away the bounds check. And this is just one of
>>> many problems with the assert==assume approach.
>>
>> Please explain how assume would behave any differently.
>
> It wouldn't and that's the point.

So we're back to assert and assume being the same thing. Ok.



More information about the Digitalmars-d mailing list