Open kencu opened 6 months ago
If the calling code is already build, in other words for a binary, that is impossible, as it is not link compatible, also formally the standard doesn't allow putting own stuff into the std
namespace (besides template specializations like for e.g. std::swap
), so while there might be hacks to get there (maybe using
the required types inside of a std
namespace) it is undefined behavior and thus not an option in the scope of this project.
Additionally the documented differences might come into play if the code depends on exact behavior.
Is there some way that a build written to use
std::filesystem::
calls might transparently substituteghc::filesystem::
calls without patching the code?