diff --git a/lib/json/reflector.h b/lib/json/reflector.h index 25219f7..1712ca5 100644 --- a/lib/json/reflector.h +++ b/lib/json/reflector.h @@ -85,18 +85,14 @@ void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Array &value, RAP /*! * \brief Pushes the specified \a reflectable which has custom type as a member to the specified object. */ -template , std::is_floating_point, std::is_pointer, std::is_enum, - Traits::IsSpecializationOf, Traits::IsIteratable>...> +template , Type>>...> void push( const Type &reflectable, const char *name, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator); /*! * \brief Pushes the specified \a reflectable as a member to the specified object. */ -template , std::is_floating_point, std::is_pointer, std::is_enum, - Traits::IsSpecializationOf, Traits::IsIteratable>...> +template , Type>>...> void push( const Type &reflectable, const char *name, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator); @@ -243,9 +239,7 @@ void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Array &value, RAP /*! * \brief Pushes the specified \a reflectable which has custom type as a member to the specified object. */ -template , std::is_floating_point, std::is_pointer, std::is_enum, - Traits::IsSpecializationOf, Traits::IsIteratable>...> +template , Type>>...> void push( const Type &reflectable, const char *name, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) { @@ -258,9 +252,7 @@ void push( /*! * \brief Pushes the specified \a reflectable as a member to the specified object. */ -template , std::is_floating_point, std::is_pointer, std::is_enum, - Traits::IsSpecializationOf, Traits::IsIteratable>...> +template , Type>>...> void push( const Type &reflectable, const char *name, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) {