json/include/nlohmann/detail
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
..
conversions Restore disabled check for #3070 (except on MSVC) (#3421) 2022-04-06 08:25:35 +02:00
input Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
iterators Make iterator operator++/--(int) equality-preserving (#3332) 2022-03-08 10:10:50 +01:00
meta Avoid clash with Arduino defines (#3338) 2022-04-03 18:33:33 +02:00
output ♻️ make function static 2022-01-05 21:21:46 +01:00
exceptions.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
hash.hpp 🐛 adding missing header 2021-08-18 13:33:35 +02:00
json_pointer.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json_ref.hpp 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
macro_scope.hpp Improve unit testing (Part 1) (#3380) 2022-03-24 07:54:07 +01:00
macro_unscope.hpp Improve unit testing (Part 1) (#3380) 2022-03-24 07:54:07 +01:00
string_escape.hpp 🐛 proper JSON Pointer escape in diagnostic messages 2021-01-16 15:33:05 +01:00
value_t.hpp 🚨 fix warnings 2021-01-10 13:39:36 +01:00