hashtable_policy.h (__details::_Before_begin<>): New, combine a base node instance...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 1 Nov 2012 20:55:51 +0000 (20:55 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 1 Nov 2012 20:55:51 +0000 (20:55 +0000)
commit0dd4969120693e1040ff3cd2076571618baa616d
tree86f359d600cf3067b58ad7f417d463a291dfd3be
parent647d030f8c0f9c31087f7580158b1c0cfeb6883b
hashtable_policy.h (__details::_Before_begin<>): New, combine a base node instance and an allocator.

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.

From-SVN: r193068
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/include/bits/hashtable_policy.h