https://issues.dlang.org/show_bug.cgi?id=13572

--- Comment #10 from Sobirari Muhomori <dfj1es...@sneakemail.com> ---
(In reply to Ketmar Dark from comment #6)
> my understanding of @trusted (and @safe, for that matter) is that safety
> promise is nullified if someone passing invalid pointer to such functions.

That only applies to a @system caller, a @safe caller can't come up with an
invalid pointer, but it still can mess with data in other ways, if a @trusted
callee can't handle it, it means it has an unsafe interface.

--

Reply via email to