From 2216bfbe44ca4a7368c5ac2950125b36e5f609f2 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 7 Dec 2016 10:47:50 -0500 Subject: [PATCH] Work around VS-2015 bug --- date.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/date.h b/date.h index 50b8947..45d13c7 100644 --- a/date.h +++ b/date.h @@ -3395,7 +3395,7 @@ namespace detail // Example: width<10>::value == 1 // Example: width<1000>::value == 3 template + bool should_continue = !(n < 2) && d != 0 && (w < 19)> struct width { static CONSTDATA unsigned value = 1 + width::value; @@ -3422,7 +3422,7 @@ struct static_pow10<0> static CONSTDATA std::uint64_t value = 1; }; -template +template struct make_precision { using type = std::chrono::duration