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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 4 18:43:38 PST 2015


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

--- Comment #43 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to David Nadlinger from comment #38)
> What is your point?
> 
> @trusted can be used incorrectly. Nothing new and exciting so far.

His point is that gainful use of @trusted is for safe interfaces with unsafe
implementations, not make-believe that unsafe functions are actually safe. It's
a very good point.

--


More information about the Digitalmars-d-bugs mailing list