20.11
|
Functions | |
fs::path | NamedTempFile (const char *fileName) |
Construct a temporary file name. More... | |
fs::path NamedTempFile | ( | const char * | fileName | ) |
Construct a temporary file name.
Returns a path to a file in the system temporary folder. If the file existed it will be deleted.
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 BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().