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.

Reply via email to