diff --git a/lib/json/reflector-boosthana.h b/lib/json/reflector-boosthana.h index 8dd8892..320ce47 100644 --- a/lib/json/reflector-boosthana.h +++ b/lib/json/reflector-boosthana.h @@ -24,6 +24,7 @@ namespace Reflector { template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) { @@ -36,6 +37,7 @@ void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Object &value, RA template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void pull( Type &reflectable, RAPIDJSON_NAMESPACE::GenericValue>::ValueIterator &value, JsonDeserializationErrors *errors) @@ -47,6 +49,7 @@ void pull( template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void pull(Type &reflectable, const RAPIDJSON_NAMESPACE::GenericValue>::ConstObject &value, JsonDeserializationErrors *errors) diff --git a/lib/json/reflector.h b/lib/json/reflector.h index c0267e3..1810af6 100644 --- a/lib/json/reflector.h +++ b/lib/json/reflector.h @@ -56,6 +56,7 @@ namespace Reflector { */ template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Array &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator); @@ -65,6 +66,7 @@ void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Array &value, RAP */ template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator); @@ -235,6 +237,7 @@ void push( */ template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Array &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) { @@ -251,6 +254,7 @@ void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Array &value, RAP */ template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void pull( Type &reflectable, RAPIDJSON_NAMESPACE::GenericValue>::ValueIterator &value, JsonDeserializationErrors *errors); @@ -261,6 +265,7 @@ void pull( */ template , std::is_floating_point, std::is_pointer, std::is_enum, + Traits::IsSpecializationOf, Traits::All, Traits::Not>>>...> void pull(Type &reflectable, const RAPIDJSON_NAMESPACE::GenericValue>::ConstObject &value, JsonDeserializationErrors *errors);