currently, in <tr1/type_traits>, code exists like:
template<typename _Tp>
struct has_trivial_destructor
: public integral_constant<bool, is_pod<_Tp>::value> { };
It would be nice to have compiler support to detect non-pod types that have a
trivial destructor. (this would provide support for certain optimizations)
--
Summary: support for type traits is not available
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stefaan dot deroeck at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26099