You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Travis Vitek (JIRA)" <ji...@apache.org> on 2008/07/03 00:16:45 UTC

[jira] Created: (STDCXX-984) [Linux/gcc] 20.meta.unary.prop.cpp fails has_trivial_destructor assertions

[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.


[jira] Updated: (STDCXX-984) [Linux/gcc] __has_trivial_destructor fails for reference types

Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Travis Vitek updated STDCXX-984:
--------------------------------

           Component/s:     (was: TR1.4 - Metaprogramming and Type Traits)
                        External
    Remaining Estimate:     (was: 2h)
     Original Estimate:     (was: 2h)
               Summary: [Linux/gcc] __has_trivial_destructor fails for reference types  (was: [Linux/gcc] 20.meta.unary.prop.cpp fails has_trivial_destructor assertions)

> [Linux/gcc] __has_trivial_destructor fails for reference types
> --------------------------------------------------------------
>
>                 Key: STDCXX-984
>                 URL: https://issues.apache.org/jira/browse/STDCXX-984
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: External
>    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.