2012-11-01 François Dumont <fdumont@gcc.gnu.org>
commit41f4033b94a7a17e766e29386542f087ae0e2dfa
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Nov 2012 20:55:51 +0000 (1 20:55 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Nov 2012 20:55:51 +0000 (1 20:55 +0000)
tree86f359d600cf3067b58ad7f417d463a291dfd3be
parent5b134de8a4101d0fb93659db17bbf0d31fa1d2d7
2012-11-01  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable_policy.h (__details::_Before_begin<>):
New, combine a base node instance and an allocator.
* include/bits/hashtable.h (_Hashtable<>::_M_node_allocator): Remove.
(_Hashtable<>::_M_before_begin): Rename into _M_bbegin and type
modified to __detail::_Before_begin<>.
(_Hashtable<>::_M_node_allocator()): New, get the node allocator
part of _M_bbegin.
(_Hashtable<>::_M_before_begin()): New, get the before begin node
part of _M_bbegin.
(_Hashtable<>): Adapt to use latter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193068 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/include/bits/hashtable_policy.h