This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26099] New: support for type traits is not available
- From: "stefaan dot deroeck at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2006 22:10:27 -0000
- Subject: [Bug c++/26099] New: support for type traits is not available
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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