yaml-cpp
yaml-cpp copied to clipboard
Emitting filesystem::path
How can I emit a std::filesystem::path? I was thinking of adding:
namespace std::filesystem {
YAML::Emitter & operator <<(YAML::Emitter & emitter, std::filesystem::path const & p);
}
But I am not sure the Standard allow this. (Required in that namespace because ADL is used to find the overload).