[Bug c++/58074] [C++11] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 3 18:12:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
... and the issue is one more level deeper, because __is_trivial just uses the
internal trivial_type_p. I mean, it should be pretty easy to construct
testcases not involving __is_trival at all but handled incorrectly: outside the
implementation of the intrinsics, the internal pod_type_p itself is,
predictably, std_layout_type_p && trivial_type_p and then anything depending on
POD-ness is sensitive.



More information about the Gcc-bugs mailing list