From 88819449c2893ec319428ca2893b24bae8fb1308 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 703a1e023..096aecc8b 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -150,6 +150,9 @@ struct has_mapped_type std::is_integral()))>::value; }; +template