[Issue 14125] @trusted nested helper functions in std.file

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 4 21:17:22 PST 2015


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

--- Comment #56 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to Dicebot from comment #55)
> I don't see any counterarguments, only trying to explain what @trusted is
> suppposed to mean (which I am perfectly aware of). It does not address
> "break @trusted by adding code" concern which is a different thing - and
> which we were trying to fix by this idiom within available language
> limitations.

The illusion that @trusted wrappers around essentially unsafe operations make
any difference has been shattered.

--


More information about the Digitalmars-d-bugs mailing list