This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/24808] is_object fails to compile with incomplete types



------- Comment #2 from paolo at gcc dot gnu dot org  2005-11-15 00:31 -------
Subject: Bug 24808

Author: paolo
Date: Tue Nov 15 00:31:03 2005
New Revision: 106918

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106918
Log:
2005-11-14  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/24808
        * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
        (with complemented logic).
        (is_function): Use it, don't use __conv_helper.
        (is_abstract): Adjust.
        (__conv_helper): Rename to __is_convertible_simple.
        (is_convertible): Adjust.
        * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
        * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
        24808.cc: New.
        * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
        24808.cc: Likewise.
        * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
        24808.cc: Likewise.

Added:
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc
   
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc
Modified:
    branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
    branches/gcc-4_0-branch/libstdc++-v3/testsuite/testsuite_tr1.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24808


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]