[Issue 12550] Deprecate -noboundscheck and replace with more useful -boundscheck= option
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 10 09:15:52 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12550
--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to monarchdodra from comment #3)
> Think of it as an option that makes as @safe code actually @trusted.
No. @trusted code is trusted because the developer guarantees it. @safe code is
@safe because the compiler guarantees it.
@safe code that has no bounds checks basically becomes unqualified code that
@safe code can call.
--
More information about the Digitalmars-d-bugs
mailing list