Re-add value_type detection to is_constructible_string_type trait
This commit is contained in:
parent
e91686cc17
commit
372a47a7fa
@ -363,8 +363,10 @@ struct is_constructible_string_type
|
||||
#endif
|
||||
|
||||
static constexpr auto value =
|
||||
is_constructible<laundered_type,
|
||||
typename BasicJsonType::string_t>::value;
|
||||
conjunction <
|
||||
is_constructible<laundered_type, typename BasicJsonType::string_t>,
|
||||
is_detected_exact<typename BasicJsonType::string_t::value_type,
|
||||
value_type_t, laundered_type >>::value;
|
||||
};
|
||||
|
||||
template<typename BasicJsonType, typename CompatibleArrayType, typename = void>
|
||||
|
||||
@ -3651,8 +3651,10 @@ struct is_constructible_string_type
|
||||
#endif
|
||||
|
||||
static constexpr auto value =
|
||||
is_constructible<laundered_type,
|
||||
typename BasicJsonType::string_t>::value;
|
||||
conjunction <
|
||||
is_constructible<laundered_type, typename BasicJsonType::string_t>,
|
||||
is_detected_exact<typename BasicJsonType::string_t::value_type,
|
||||
value_type_t, laundered_type >>::value;
|
||||
};
|
||||
|
||||
template<typename BasicJsonType, typename CompatibleArrayType, typename = void>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user