This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/56267] [4.7/4.8/4.9 Regression] unordered containers require Assignable hash function
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Jan 2014 19:39:07 +0000
- Subject: [Bug libstdc++/56267] [4.7/4.8/4.9 Regression] unordered containers require Assignable hash function
- Auto-submitted: auto-generated
- References: <bug-56267-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56267
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jan 21 19:38:35 2014
New Revision: 206904
URL: http://gcc.gnu.org/viewcvs?rev=206904&root=gcc&view=rev
Log:
PR libstdc++/56267
* include/bits/hashtable.h (__cache_default): Do not depend on
whether the hash function is DefaultConstructible or CopyAssignable.
(_Hashtable): Adjust static assertions.
* doc/xml/manual/containers.xml (containers.unordered.cache): Update.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.
* testsuite/23_containers/unordered_set/
not_default_constructible_hash_neg.cc: Remove.
Removed:
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/not_default_constructible_hash_neg.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/xml/manual/containers.xml
trunk/libstdc++-v3/include/bits/hashtable.h
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc