This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/52309] [c++0x] unordered_set illegally requires value_type::operator!=
- 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, 20 Feb 2012 11:31:07 +0000
- Subject: [Bug libstdc++/52309] [c++0x] unordered_set illegally requires value_type::operator!=
- Auto-submitted: auto-generated
- References: <bug-52309-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52309
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-02-20 11:31:07 UTC ---
Author: paolo
Date: Mon Feb 20 11:31:01 2012
New Revision: 184389
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184389
Log:
2012-02-20 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/52309
* include/bits/hashtable_policy.h (_Equality_base<, true,>::
_M_equal(const _Hashtable&)): Compare values with operator==.
* testsuite/23_containers/unordered_set/operators/52309.cc: New.
Added:
branches/gcc-4_6-branch/libstdc++-v3/testsuite/23_containers/unordered_set/operators/52309.cc
Modified:
branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
branches/gcc-4_6-branch/libstdc++-v3/include/bits/hashtable_policy.h