15#if defined(__FreeBSD_kernel__) || \
16 defined(__CYGWIN__) || \
37 result = std::filesystem::temp_directory_path().string();
39 catch(
const std::filesystem::filesystem_error &)
64 std::string(
"realpath failed: ") + std::strerror(
errno));
66 result = std::string(
wd);
80 return std::filesystem::path(
path).append(file).string();
85 std::filesystem::remove_all(
path);
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Thrown when some external system fails unexpectedly.
temp_dirt(const std::string &name_template)
std::string operator()(const std::string &file)
char * getenv(const char *name)
std::string get_temporary_directory(const std::string &name_template)
std::string get_temporary_directory(const std::string &name_template)