@trust is an encapsulation method, not an escape

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 5 20:42:22 PST 2015


On 2/5/2015 8:30 PM, Brad Roberts via Digitalmars-d wrote:
> @safe code is memory safe when passed good inputs.  @safe code does not have to
> detect or prevent garbage input from causing harm.   The promises of @trusted
> aren't stronger than that either.

This is correct. Thanks for catching it.


More information about the Digitalmars-d mailing list