Improve the use of std::filesystem
Current implementation relies a lot upon std::string
, and doesn't use a lot std::filesystem::path
.
Moreover, Unix-style directory separator are implicitly assumed, whereas the std::filesystem
module provides built-in support for others styles such as the ones used in Windows.