#pragma once #include class Tempfile { std::filesystem::path m_path; public: std::filesystem::path GetPath() const; // extension: e.g. ".zip" Tempfile(const std::filesystem::path& extension = std::filesystem::path{}); ~Tempfile(); };