Reverting this change, it is compiler bug, confirmed by Microsoft VSO#292426 (nw)

This commit is contained in:
Miodrag Milanovic 2016-11-17 08:08:53 +01:00
parent 98f22fc6de
commit 8a22a1f14d

View File

@ -592,10 +592,10 @@ private:
{ static constexpr bool value = std::is_integral<U>::value && std::is_signed<U>::value; };
template <typename U> struct unsigned_integer_semantics
{ static constexpr bool value = std::is_integral<U>::value && !std::is_signed<U>::value; };
public:
template <typename U> struct default_semantics
{ static constexpr bool value = !signed_integer_semantics<U>::value && !unsigned_integer_semantics<U>::value; };
public:
template <typename U>
static void apply(std::enable_if_t<signed_integer_semantics<U>::value, Stream> &str, format_flags const &flags, U const &value)
{