From 7848566815ae45ed4bfe26e738476e44451b109e Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 2 Oct 2020 12:52:31 -0400 Subject: [PATCH] Fix a parse error for Visual Studio --- include/date/date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/date/date.h b/include/date/date.h index 6c7787c..e70cac4 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -3686,7 +3686,7 @@ struct undocumented {explicit undocumented() = default;}; // Example: width<10>::value == 1 // Example: width<1000>::value == 3 template + bool should_continue = n%d != 0 && (w < 19)> struct width { static_assert(d > 0, "width called with zero denominator");