mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
Disabled implicit conversion to string_view on MSVC 15.13 and older
This commit is contained in:
@ -2821,9 +2821,9 @@ class basic_json
|
||||
not detail::is_basic_json<ValueType>::value
|
||||
#ifndef _MSC_VER // fix for issue #167 operator<< ambiguity under VS2015
|
||||
and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value
|
||||
#endif
|
||||
#if defined(JSON_HAS_CPP_17)
|
||||
#if defined(JSON_HAS_CPP_17) && _MSC_VER <= 1913
|
||||
and not std::is_same<ValueType, typename std::string_view>::value
|
||||
#endif
|
||||
#endif
|
||||
, int >::type = 0 >
|
||||
operator ValueType() const
|
||||
|
Reference in New Issue
Block a user