checkedint call removal

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 2 12:24:41 PDT 2014


On 8/2/2014 7:11 AM, Artur Skawina via Digitalmars-d wrote:
> @safe was supposed to protect from that.

Just to be pedantic, @safe is supposed to provide memory safety, not protection 
against all UB.

Your concern about assert optimizations possibly removing some @safe bounds 
checks is valid. I don't have a solution at the moment, but will be thinking 
about it.



More information about the Digitalmars-d mailing list