// this file splices filesystem in depending on the implementation | |
#if __has_include(<filesystem>) | |
#include <filesystem> | |
#elif __has_include(<experimental/filesystem>) | |
#include <experimental/filesystem> | |
namespace std | |
{ | |
// splice experimental::filesystem into std | |
namespace filesystem = std::experimental::filesystem; | |
} // namespace std | |
#else | |
#error filesystem not available | |
#endif |