Closed dennisklein closed 1 year ago
The difference seems to be how any_cast works with boost path and std path: https://godbolt.org/z/1YK8f4djW
The difference seems to be how any_cast works with boost path and std path: https://godbolt.org/z/1YK8f4djW
Hm, interesting. Well, I just adapted to test cases to expect different output for std::filesystem. Not sure, what else to do.
Here it says:
std::quoted is used so that spaces do not cause truncation when later read by stream input operator.
So I guess boost does not do the quoted part. It has nothing to do with any/any_cast afterall.
Hm, interesting. Well, I just adapted to test cases to expect different output for std::filesystem. Not sure, what else to do.
Yeah, let's leave it at that.
@rbx You can switch between
boost::filesystem
andstd::filesystem
now via-DFAIRMQ_HAS_STD_FILESYSTEM=0|1
. (by default it is 1 if gcc >=9 or clang >= 9)If I switch to boost, the test succeeds. So, they have the same API, but it produces different results... any idea? looks like escaping is somehow applied twice.