[Issue 14125] std.file has gotten out of hand
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Feb 4 15:49:30 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14125
--- Comment #4 from Orvid King <blah38621 at gmail.com> ---
I would actually argue that the way it's implemented currently is better than
what you're suggesting.
If I'm understanding correctly, you want std.file.read to be @trusted rather
than @safe.
The way it's implemented currently limits the amount of code in the @trusted
section significantly, and the rest is in the @safe version. This is done so
that the only parts of the method that need to be @trusted are in @trusted
blocks.
--
More information about the Digitalmars-d-bugs
mailing list