Implementation <tr1/type_traits> is much worse than <type_traits> that can be included when compiling with -std=c++0x. <tr1/type_traits> don't use __has_trivial_destructor() and similar helper built-ins provided by the compiler.
-- Summary: TR1 type_traits are much worse than C++0x type_traits Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pogonyshev at gmx dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43549