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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-05-20
                 CC|                            |ville at gcc dot gnu.org
          Component|libstdc++                   |c++
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is also a compiler bug. The only one of the four traits to give the right
answer is the one implemented purely in the library. The other three use the
__is_constructible or __is_trivially_constructible built-ins, which are wrong
for this case.

std::is_default_constructible should probably be using the built-in too, even
though that would make it wrong (but consistently so, and it would be right
after the built-in gets fixed).

Reply via email to