checkedint call removal

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 3 14:36:43 PDT 2014


On 08/03/2014 11:03 PM, Paolo Invernizzi wrote:
> ...
>
> But most yes: to me, an undefined behaviour is the situation where I've
> developed the code for having 'a' in one place, and I have 'b'.  If this
> is not, literally undefined behaviour, I donno how I should name it.
> ...

You could name it a bug, or a programming error. Undefined behaviour is 
something specific. If a program contains undefined behaviour, this 
means that a conforming implementation can generate any arbitrary behaviour.

> ...
>>> everything seems to work fine for a good amount of time until the
>>> snowball comes down,
>>> violates catastrophically the program logic and boom.
>>
>> Again, in other cases, the -release program will operate as expected.
>
> If I've grasped your point in the previous reply, yes, maybe.
> ...

Ok. This was Johannes' point.


More information about the Digitalmars-d mailing list