19class TempDirectory
final {
31 static TempDirectory
Create(std::string_view parent_path,
32 std::string_view name_prefix);
34 TempDirectory() =
default;
35 TempDirectory(TempDirectory&& other)
noexcept;
36 TempDirectory& operator=(TempDirectory&& other)
noexcept;
40 static TempDirectory
Adopt(std::string path);
50 explicit TempDirectory(std::string&& path);