SeqAn3  3.0.1
The Modern C++ library for sequence analysis.
cleanup.hpp
1 #include <seqan3/std/filesystem>
2 
3 namespace seqan3
4 {
5 
7 class cleanup
8 {
9 public:
10  cleanup() = delete;
11  cleanup(cleanup const &) = delete;
12  cleanup & operator=(cleanup const &) = delete;
13  cleanup(cleanup &&) = default;
14  cleanup & operator=(cleanup &&) = default;
15 
16  cleanup(char const * const str) : file(str) {};
17 
18  ~cleanup()
19  {
21  }
22 
23 private:
24  std::string file;
25 };
27 
28 } // namespace seqan3
std::string
filesystem
This header includes C++17 filesystem support and imports it into namespace seqan3::filesystem (indep...
seqan3
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:36
std::filesystem::remove
T remove(T... args)