From c41e03be6b17cc8dfe0f227f0ef2cfa6ab796d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DELRIEU?= Date: Wed, 16 Nov 2016 23:20:05 +0100 Subject: [PATCH] remove constraints on JSONSerializer instances, constrain correctly new methods --- src/json.hpp | 97 ++++++++++++++++++++++++++++++------------- test/src/unit-udt.cpp | 3 +- 2 files changed, 70 insertions(+), 30 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index da4a54589..95dd6da0b 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -135,6 +135,9 @@ struct has_mapped_type std::is_integral()))>::value; }; +template