-
- Downloads
hashtable_policy.h (_ReuseOrAllocNode): Use forward pattern.
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. From-SVN: r200724
Showing
- libstdc++-v3/ChangeLog 13 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/hashtable.h 56 additions, 41 deletionslibstdc++-v3/include/bits/hashtable.h
- libstdc++-v3/include/bits/hashtable_policy.h 120 additions, 124 deletionslibstdc++-v3/include/bits/hashtable_policy.h
- libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc 1 addition, 1 deletion...estsuite/23_containers/unordered_set/instantiation_neg.cc
- libstdc++-v3/testsuite/23_containers/unordered_set/not_default_constructible_hash_neg.cc 1 addition, 1 deletion...iners/unordered_set/not_default_constructible_hash_neg.cc
Loading
Please register or sign in to comment