https://issues.dlang.org/show_bug.cgi?id=13996
--- Comment #4 from Martin Nowak <c...@dawg.eu> --- (In reply to Jonathan M Davis from comment #3) > auto file = File.tempFile(); > scope(exit) std.file.remove(file.name); There is a security aspect, because the current tempfile is unlinked at the moment it's created. So no other process can access it. But as that's the advanced use-case it deserves the longer name, anonTempFile or so. --