Fix a parse error for Visual Studio

This commit is contained in:
Howard Hinnant
2020-10-02 12:52:31 -04:00
parent 393b52f21b
commit 7848566815

View File

@ -3686,7 +3686,7 @@ struct undocumented {explicit undocumented() = default;};
// Example: width<10>::value == 1
// Example: width<1000>::value == 3
template <std::uint64_t n, std::uint64_t d, unsigned w = 0,
bool should_continue = n%d != 0 && w < 19>
bool should_continue = n%d != 0 && (w < 19)>
struct width
{
static_assert(d > 0, "width called with zero denominator");