[Bug c++/92947] Parenthesized aggregate initialization doesn't work with the library types it's supposed to work with
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 7 15:26:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92947
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Sorry, looking into this again. A problem I see with my fix is that with it
this assert fails:
struct A { };
struct B { };
static_assert (!__is_trivially_constructible(A, B), "");
i.e. we say __is_trivially_constructible(A, B) is true. That still incorrect
even in C++20, right?
More information about the Gcc-bugs
mailing list