Merge pull request #1028 from gracicot/develop
Added support for string_view in C++17
This commit is contained in:
commit
bf348ca8a4
6 changed files with 152 additions and 4 deletions
|
|
@ -2829,9 +2829,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 <= 1914
|
||||
and not std::is_same<ValueType, typename std::string_view>::value
|
||||
#endif
|
||||
#endif
|
||||
, int >::type = 0 >
|
||||
operator ValueType() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue