From 993e842fdff8fd6a909c2f525cfc006257eedd57 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 26 May 2015 18:42:09 +0100 Subject: Retreat ! go back to C++11 only code This reverts commit b42de850314e7d76f873ddc7d64c5f7d2a30eb00. --- src/string.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/string.hh') diff --git a/src/string.hh b/src/string.hh index e2e2d412..b5ad8e5a 100644 --- a/src/string.hh +++ b/src/string.hh @@ -297,10 +297,10 @@ namespace detail template using IsString = std::is_convertible; -template::value>> +template::value>::type> auto format_param(const T& val) -> decltype(to_string(val)) { return to_string(val); } -template::value>> +template::value>::type> StringView format_param(const T& val) { return val; } } -- cgit v1.2.3