[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 11 20:51:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Daniel Krügler from comment #0)
> The deleted default constructor should not prevent type Trivial of being
> trivial (Maybe this part of the problem is related to bug 52707, but I'm not
> sure).
I think DR 1363 changed that (and DR 1496 reconfirmed it) so the first test is
wrong. But G++ now passes that assertion, so that's also wrong (that is Bug
85723 though).
More information about the Gcc-bugs
mailing list