📄 clarify license
This commit is contained in:
parent
2fc1f694ad
commit
94d177e09a
@ -168,7 +168,9 @@ struct is_iterator_traits<iterator_traits<T>>
|
|||||||
is_detected<reference_t, traits>::value;
|
is_detected<reference_t, traits>::value;
|
||||||
};
|
};
|
||||||
|
|
||||||
// source: https://stackoverflow.com/a/37193089/4116453
|
// The following implementation of is_complete_type is taken from
|
||||||
|
// https://blogs.msdn.microsoft.com/vcblog/2015/12/02/partial-support-for-expression-sfinae-in-vs-2015-update-1/
|
||||||
|
// and is written by Xiang Fan who agreed to using it in this library.
|
||||||
|
|
||||||
template<typename T, typename = void>
|
template<typename T, typename = void>
|
||||||
struct is_complete_type : std::false_type {};
|
struct is_complete_type : std::false_type {};
|
||||||
@ -186,7 +188,6 @@ struct is_compatible_object_type_impl <
|
|||||||
enable_if_t < is_detected<mapped_type_t, CompatibleObjectType>::value&&
|
enable_if_t < is_detected<mapped_type_t, CompatibleObjectType>::value&&
|
||||||
is_detected<key_type_t, CompatibleObjectType>::value >>
|
is_detected<key_type_t, CompatibleObjectType>::value >>
|
||||||
{
|
{
|
||||||
|
|
||||||
using object_t = typename BasicJsonType::object_t;
|
using object_t = typename BasicJsonType::object_t;
|
||||||
|
|
||||||
// macOS's is_constructible does not play well with nonesuch...
|
// macOS's is_constructible does not play well with nonesuch...
|
||||||
|
@ -3174,7 +3174,9 @@ struct is_iterator_traits<iterator_traits<T>>
|
|||||||
is_detected<reference_t, traits>::value;
|
is_detected<reference_t, traits>::value;
|
||||||
};
|
};
|
||||||
|
|
||||||
// source: https://stackoverflow.com/a/37193089/4116453
|
// The following implementation of is_complete_type is taken from
|
||||||
|
// https://blogs.msdn.microsoft.com/vcblog/2015/12/02/partial-support-for-expression-sfinae-in-vs-2015-update-1/
|
||||||
|
// and is written by Xiang Fan who agreed to using it in this library.
|
||||||
|
|
||||||
template<typename T, typename = void>
|
template<typename T, typename = void>
|
||||||
struct is_complete_type : std::false_type {};
|
struct is_complete_type : std::false_type {};
|
||||||
@ -3192,7 +3194,6 @@ struct is_compatible_object_type_impl <
|
|||||||
enable_if_t < is_detected<mapped_type_t, CompatibleObjectType>::value&&
|
enable_if_t < is_detected<mapped_type_t, CompatibleObjectType>::value&&
|
||||||
is_detected<key_type_t, CompatibleObjectType>::value >>
|
is_detected<key_type_t, CompatibleObjectType>::value >>
|
||||||
{
|
{
|
||||||
|
|
||||||
using object_t = typename BasicJsonType::object_t;
|
using object_t = typename BasicJsonType::object_t;
|
||||||
|
|
||||||
// macOS's is_constructible does not play well with nonesuch...
|
// macOS's is_constructible does not play well with nonesuch...
|
||||||
|
Loading…
Reference in New Issue
Block a user