[Linux/gcc] 20.meta.unary.prop.cpp fails has_trivial_destructor assertions
--------------------------------------------------------------------------
Key: STDCXX-984
URL: https://issues.apache.org/jira/browse/STDCXX-984
Project: C++ Standard Library
Issue Type: Bug
Components: TR1.4 - Metaprogramming and Type Traits
Affects Versions: 4.3
Environment: gcc-4.3
Reporter: Travis Vitek
Fix For: 4.3
The {{\_\_has_trivial_destructor()}} support routine returns false for
references. The latest draft specifically says...
{quote}T is a trivial type (3.9) or a reference type or a class type with a
trivial destructor (12.4) or an array of such a class type.{quote}
We should be able to work around this issue by explicitly checking for
references.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.