How can I safely and portably create and use a temporary file in C++11?

后端 未结 0 1484
没有蜡笔的小新
没有蜡笔的小新 2021-01-22 09:46

I\'m writing a library. In one of my unit tests, I want to create a temporary file, make some library calls involving that file, and delete the file on exit (success, failure an

相关标签:
回答
  • 消灭零回复
提交回复
热议问题