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++/24805] No non-member swap for shared_ptr



------- Comment #2 from paolo at gcc dot gnu dot org  2005-11-11 20:10 -------
Subject: Bug 24805

Author: paolo
Date: Fri Nov 11 20:10:20 2005
New Revision: 106796

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

        PR libstdc++/24799
        * include/tr1/functional (hash): Inherit from std::unary_function.
        * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.

        PR libstdc++/24805
        * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
        swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
        * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
        24805.cc: New.

        PR libstdc++/24809
        * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
        * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
        24809.cc: New.


Added:
   
trunk/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
   
trunk/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
    trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
    trunk/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1/boost_shared_ptr.h
    trunk/libstdc++-v3/include/tr1/functional
    trunk/libstdc++-v3/include/tr1/type_traits


-- 


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


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