refactor from/to_json(CompatibleArrayType)

This commit is contained in:
Théo DELRIEU 2018-09-05 17:59:10 +02:00
parent 628f76729e
commit f7c8a2145a
No known key found for this signature in database
GPG key ID: A5A505438C20539A
4 changed files with 80 additions and 78 deletions

View file

@ -127,9 +127,6 @@ struct is_compatible_array_type_impl <
is_detected<iterator_t, CompatibleArrayType>::value >>
{
static constexpr auto value = not(
is_compatible_object_type<BasicJsonType, CompatibleArrayType>::value or
std::is_constructible<typename BasicJsonType::string_t,
CompatibleArrayType>::value or
is_basic_json_nested_type<BasicJsonType, CompatibleArrayType>::value);
};