For traits in constexpr context use ::value

* Fixes #542
This commit is contained in:
Howard Hinnant 2020-06-02 21:08:57 -04:00
parent a088baf9a5
commit cac99da8dc

View File

@ -4148,10 +4148,10 @@ operator+(std::basic_string<CharT, Traits, Alloc> x, const string_literal<CharT,
&& (!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x5150) && (!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x5150)
template <class CharT, template <class CharT,
class = std::enable_if_t<std::is_same<CharT, char>{} || class = std::enable_if_t<std::is_same<CharT, char>::value ||
std::is_same<CharT, wchar_t>{} || std::is_same<CharT, wchar_t>::value ||
std::is_same<CharT, char16_t>{} || std::is_same<CharT, char16_t>::value ||
std::is_same<CharT, char32_t>{}>> std::is_same<CharT, char32_t>::value>>
CONSTCD14 CONSTCD14
inline inline
string_literal<CharT, 2> string_literal<CharT, 2>