On Friday, 18 May 2018 at 15:16:52 UTC, Russel Winder wrote:
Hi,
What's the current official position on how to create temporary
files for use during a unittest. I found
https://github.com/dlang/phobos/pull/5788
but it seems to be languishing in the "we have discussed all
the issues that no-one will ever have a problem with" phase.
What to do between now and when there is an LDC release that
has the result of
the merge?
You could use libc's tmpfile with std.stdio.File until a D
alternative pops up.
http://en.cppreference.com/w/c/io/tmpfile