[Bug libstdc++/24799] std::tr1::hash missing inheritance
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 13 12:19:00 GMT 2005
------- Comment #3 from paolo at gcc dot gnu dot org 2005-11-13 12:19 -------
Subject: Bug 24799
Author: paolo
Date: Sun Nov 13 12:19:01 2005
New Revision: 106864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106864
Log:
2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
PR libstdc++/24818
* include/tr1/ref_wrap_iterate.h
(reference_wrapper::operator()()): Don't dereferene the result of
get() before calling it; it's already a reference.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Test nullary calls to reference_wrappers.
2005-11-13 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:
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/6_containers/unordered/hash/24799.cc
Modified:
branches/gcc-4_0-branch/libstdc++-v3/ChangeLog
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/boost_shared_ptr.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/functional
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/ref_wrap_iterate.h
branches/gcc-4_0-branch/libstdc++-v3/include/tr1/type_traits
branches/gcc-4_0-branch/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24799
More information about the Gcc-bugs
mailing list