https://issues.dlang.org/show_bug.cgi?id=13996
--- Comment #3 from Jonathan M Davis <issues.dl...@jmdavisprog.com> --- Drat. I managed to post by accident. In any case, tmpfile could easily be replaced such that auto file = File.tmpfile(); became auto file = File.tempFile(); scope(exit) std.file.remove(file.name); so IMHO tmpfile becomes redundant on top of being pretty useless. But it _does_ mean deprecating it if we're getting rid of it, so it might be better to just keep it around rather than dealing with that. --