[Bug c++/43549] TR1 type_traits are much worse than C++0x type_traits

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 27 20:01:00 GMT 2010



------- Comment #5 from paolo dot carlini at oracle dot com  2010-03-27 20:00 -------
Evidently, you never studied the actual specs: the C++1x traits are different,
in many *incompatible* ways, eg is_lvalue_reference / is_rvalue_reference vs
is_reference. Many C++1x traits don't even compile in C++98 mode. And about the
various introspection traits which you mentioned, changing those now would
break *a lot* of applications which assumed for *many* years essentially
PODness for yes, as the TR1 specs allowed. No way.


-- 


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



More information about the Gcc-bugs mailing list