[Bug libstdc++/60326] Incorrect type from std::make_unsigned<wchar_t>
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 24 10:07:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60326
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-02-24
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think we're just missing wchar_t specializations, and also for char16_t and
char32_t
#include <type_traits>
using namespace std;
using wchar_signed = make_signed<wchar_t>::type;
using wchar_unsigned = make_unsigned<wchar_t>::type;
static_assert( !is_same<wchar_signed, wchar_unsigned>::value, "");
static_assert( !is_same<char16_t, make_signed<char16_t>::type>::value, "");
static_assert( !is_same<char32_t, make_signed<char32_t>::type>::value, "");
More information about the Gcc-bugs
mailing list