r200724 - in /trunk/libstdc++-v3: ChangeLog inc...
fdumont@gcc.gnu.org
fdumont@gcc.gnu.org
Fri Jul 5 21:21:00 GMT 2013
Author: fdumont
Date: Fri Jul 5 21:21:07 2013
New Revision: 200724
URL: http://gcc.gnu.org/viewcvs?rev=200724&root=gcc&view=rev
Log:
2013-07-05 François Dumont <fdumont@gcc.gnu.org>
* include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
pattern.
(_MoveReuseOrAllocNode): Remove.
(_Insert_base): Take a functor defining how the node is generated.
* include/bits/hashtable.h: Adapt.
(operator=(initializer_list<value_type>)): Reuse node if any.
* testsuite/23_containers/unordered_set/instantiation_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/unordered_set/
not_default_constructible_hash_neg.cc: Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable.h
trunk/libstdc++-v3/include/bits/hashtable_policy.h
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/not_default_constructible_hash_neg.cc
More information about the Libstdc++-cvs
mailing list