mirror of
https://github.com/nlohmann/json.git
synced 2025-07-13 20:21:48 +03:00
Fixed issue #167 - removed operator ValueType() condition for VS2015
This commit is contained in:
@ -2675,7 +2675,9 @@ class basic_json
|
||||
std::enable_if<
|
||||
not std::is_pointer<ValueType>::value
|
||||
and not std::is_same<ValueType, typename string_t::value_type>::value
|
||||
#ifndef _MSC_VER // Fix for issue #167 operator<< abiguity under VS2015
|
||||
and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value
|
||||
#endif
|
||||
, int>::type = 0>
|
||||
operator ValueType() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user