json/include/nlohmann
Florian Albrechtskirchinger c2054b96b9
Restore disabled check for #3070 (except on MSVC) (#3421)
Restore the previously disabled check for regression #3070 on all
compilers but MSVC.

To summarize the issue:
Given namespace fs = std::filesystem.
On MSVC attempting to construct an fs::path from json results in an
ambiguous overload resolution because fs::path can be constructed from
both a std::string as well as another fs::path.
To the best of my knowledge there is no way to fix an ambiguous overload
situation involving a type we do not control and with json implicitly
converting to both std::string and fs::path.

Re-enabling the check where it compiles and keeping it disabled for MSVC
is the best we can do.

Closes #3377 and #3382.
2022-04-06 08:25:35 +02:00
..
detail Restore disabled check for #3070 (except on MSVC) (#3421) 2022-04-06 08:25:35 +02:00
thirdparty/hedley 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
adl_serializer.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
byte_container_with_subtype.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json_fwd.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json.hpp Report the right __cplusplus value for MSVC in basic_json meta() (#3417) 2022-04-04 20:45:19 +02:00
ordered_map.hpp Fix C++20/gcc-12 issues (Part 1) (#3379) 2022-03-07 22:19:28 +01:00