<div><br></div><div>If I change formattedRead's input signature to:<br>uint formattedRead(R, Char, S...)(ref R r, const(Char)[] fmt, ref S args)</div><div>and adjusted code accordingly.</div><div><br></div><div>It seems to work fine.</div>
<div><br></div><div>see implementation here:</div><div><a href="https://github.com/timotheecour/dtools/blob/master/dtools/overrides/format.d#L29">https://github.com/timotheecour/dtools/blob/master/dtools/overrides/format.d#L29</a></div>
<div>(just run unittests: rdmd --main -unittest dtools/all.d)</div><div><br></div><div>why is std.format. formattedRead taking by pointer instead ?</div><div>could we change that (with proper deprecation), or add that function?</div>
<div><br></div>