Re:C++ still isn't cutting it
by optimiz3 on Sunday October 18, 2020 @05:28PM
(#24821257)
That's a design difference from C++ then, however even if the file is deleted the delete on Windows doesn't persist for existing open handles until the file is closed.
[0] https://github.com/rust-lang/rust/blob/master/library/std/sr...
[1] https://doc.rust-lang.org/std/os/windows/fs/trait.OpenOption...