https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109606

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
N.B. I added other unguarded uses of the built-in to bits/locale_classes.tcc
and in that case it's used in C++98 too, so even std::is_same<>::value isn't
available (and I didn't want to use the old __are_same<>::__value trait).

I suppose we could add something like this to bits/c++config.h:

#if ! __has_builtin(__is_same)
// Assume the much older __is_same_as built-in is supported instead:
# define __is_same(T, U) __is_same_as(T, U)
#endif

but it sounds like it won't be needed now anyway. So I'll close this as WONTFIX
if that's OK.

Reply via email to