#pragma once #include <string> std::string get_temp_directory();
#include "temp_directory.hpp" #include <filesystem> #if __cplusplus > 201402L namespace fs = std::filesystem; #else namespace fs = std::experimental::filesystem; #endif std::string get_temp_directory() { return fs::temp_directory_path().string(); }