std::filesystem::path is a great feature of C++17, but it's not perfect. Unfortunately, it brings many problems. For example:
std::filesystem::path makes a ton of unnecessary copies that unfortunately don't get optimized away by any C++ compilers I've tested so far.
XCode 10 and below has very poor support for the \<filesystem> header, meaning HedgeLib doesn't compile on macOS just because we use \<filesystem> occasionally. XCode 11 finally fixes this, however, as of now it still requires you to be on a beta version of macOS which is non-ideal.
I want to make a custom replacement type for std::filesystem::path based off of what I've already done with the Path and INPath headers.
2ed16dc45925e9dedf7e4c888d7ab54ac4956178 Ditches usage of entirely in favor of custom platform-specific functions that are simpler much better optimized. It also means HedgeLib now compiles on macOS.
std::filesystem::path is a great feature of C++17, but it's not perfect. Unfortunately, it brings many problems. For example:
std::filesystem::path makes a ton of unnecessary copies that unfortunately don't get optimized away by any C++ compilers I've tested so far.
XCode 10 and below has very poor support for the \<filesystem> header, meaning HedgeLib doesn't compile on macOS just because we use \<filesystem> occasionally. XCode 11 finally fixes this, however, as of now it still requires you to be on a beta version of macOS which is non-ideal.
I want to make a custom replacement type for std::filesystem::path based off of what I've already done with the Path and INPath headers.