hashtable_policy.h (_Hashtable_alloc): New.
2013-08-06 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h (_Hashtable_alloc): New. (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than _Hashtable. (_Before_begin<>): Remove. * include/bits/hashtable.h (_Hashtable): Inherit from _Hashtable_alloc and adapt. Restore _M_before_begin field. * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt access to hashtable before begin. * testsuite/23_containers/unordered_set/ not_default_constructible_hash_neg.cc: Adapt dg-error line number. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise. From-SVN: r201522
Showing
- libstdc++-v3/ChangeLog 15 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/hashtable.h 106 additions, 243 deletionslibstdc++-v3/include/bits/hashtable.h
- libstdc++-v3/include/bits/hashtable_policy.h 181 additions, 68 deletionslibstdc++-v3/include/bits/hashtable_policy.h
- libstdc++-v3/python/libstdcxx/v6/printers.py 1 addition, 1 deletionlibstdc++-v3/python/libstdcxx/v6/printers.py
- 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