UB in D
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 11 14:37:45 PDT 2016
On 7/11/2016 11:47 AM, deadalnix wrote:
> As you can see the behavior of each component here is fairly reasonable.
> However, the end result may not be.
As was mentioned elsewhere, integers getting indeterminate values only
results in memory corruption if the language has an unsafe memory model.
The solution is something like this:
https://github.com/dlang/dlang.org/pull/1420
More information about the Digitalmars-d
mailing list