This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48430] std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Jul 2011 16:08:04 +0000
- Subject: [Bug libstdc++/48430] std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function
- Auto-submitted: auto-generated
- References: <bug-48430-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48430
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-07-18 16:07:34 UTC ---
Author: paolo
Date: Mon Jul 18 16:07:24 2011
New Revision: 176405
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176405
Log:
2011-07-18 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/48430
* include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
__hash_base.
* include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr.h
trunk/libstdc++-v3/include/bits/unique_ptr.h