22.02
|
Functions | |
fs::path | NamedTempFile (const char *fileName) |
Returns a path to a file in the system temporary folder. If the file existed it will be deleted. More... | |
fs::path NamedTempFile | ( | const char * | fileName | ) |
Returns a path to a file in the system temporary folder. If the file existed it will be deleted.
Construct a temporary file name.
Given a specified file name construct a path to that file in the system temporary directory. If the file already exists it is deleted. This could throw filesystem_error exceptions.
fileName | the file name required in the temporary directory. |
Definition at line 23 of file Filesystem.cpp.
Referenced by TEST_CASE_FIXTURE(), and TEST_SUITE().