title: What is the C++ standard library equivalent for mkstemp?
body: <p>I am transitioning a program that uses temporary files from POSIX <code>FILE</code> to C++ standard library iostreams. What's the correct alternative to mkstemp?</p>