[Bug libstdc++/71579] type_traits miss checks for type completeness in some traits

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 20 10:25:00 GMT 2016


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your example has undefined behaviour, the requirements in the standard are
requirements on your use of the trait. If you use it wrong it doesn't work.


More information about the Gcc-bugs mailing list