2013-08-06 François Dumont <fdumont@gcc.gnu.org>
commit2546266f931e7bea07456b874ece8816369dad2f
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Aug 2013 08:38:58 +0000 (6 08:38 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Aug 2013 08:38:58 +0000 (6 08:38 +0000)
treedd82deb1222707956547a3a5df78ae88ac6e5f4e
parent2e42c60f484e79f748d56de66379d504c7c24ac1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201522 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/include/bits/hashtable_policy.h
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_set/not_default_constructible_hash_neg.cc