mirror of
https://github.com/nlohmann/json.git
synced 2026-09-03 23:15:02 +00:00
@@ -1937,6 +1937,11 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
|
||||
#endif
|
||||
#if defined(JSON_HAS_CPP_17) && JSON_HAS_STATIC_RTTI
|
||||
detail::negation<std::is_same<ValueType, std::any>>,
|
||||
#endif
|
||||
#if defined(JSON_HAS_CPP_17)
|
||||
// std::optional<T> can construct itself from basic_json; excluding it
|
||||
// here avoids an ambiguity with that constructor (e.g., under C++26)
|
||||
detail::negation<detail::is_std_optional<ValueType>>,
|
||||
#endif
|
||||
detail::is_detected_lazy<detail::get_template_function, const basic_json_t&, ValueType>
|
||||
>::value, int >::type = 0 >
|
||||
|
||||
Reference in New Issue
Block a user