https://issues.dlang.org/show_bug.cgi?id=8471
--- Comment #19 from Andrei Alexandrescu <[email protected]> --- @Bolpat (In reply to Bolpat from comment #18) > As Andrei pointed out, readf has its signature for historic reasons. Please > check out my pull: https://github.com/dlang/phobos/pull/5247 If I'm correct, > we can deprecate formattedRead and with it readf with pointers. > > Tell me if I'm wrong, but there is no justification to make readf @trusted. > It accesses a __gshared global and is not @safe for good reasons. Using __gshared is not problematic because the reading primitives are interlocked. --
