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++/56267] [4.7/4.8/4.9 Regression] unordered containers require Assignable hash function


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


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