Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-12-08 13:24:47


Author: danieljames
Date: 2007-12-08 13:24:46 EST (Sat, 08 Dec 2007)
New Revision: 41903
URL: http://svn.boost.org/trac/boost/changeset/41903

Log:
No need for hash_types to know about hash_table_data.
Text files modified:
   sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table.hpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table.hpp
==============================================================================
--- sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table.hpp (original)
+++ sandbox-branches/unordered-refactor/boost/unordered/detail/hash_table.hpp 2007-12-08 13:24:46 EST (Sat, 08 Dec 2007)
@@ -2206,17 +2206,16 @@
                 boost::unordered_detail::rebind_wrap<Alloc, ValueType>::type
                 value_allocator;
 
- typedef hash_table_data<value_allocator, EquivKeys> data;
             typedef hash_table<ValueType, KeyType, Hash, Pred,
                     value_allocator, EquivKeys> hash_table;
- typedef BOOST_DEDUCED_TYPENAME data::iterator_base iterator_base;
+ typedef BOOST_DEDUCED_TYPENAME hash_table::iterator_base iterator_base;
 
             typedef hash_const_local_iterator<value_allocator, EquivKeys> const_local_iterator;
             typedef hash_local_iterator<value_allocator, EquivKeys> local_iterator;
             typedef hash_const_iterator<value_allocator, EquivKeys> const_iterator;
             typedef hash_iterator<value_allocator, EquivKeys> iterator;
 
- typedef BOOST_DEDUCED_TYPENAME data::size_type size_type;
+ typedef BOOST_DEDUCED_TYPENAME hash_table::size_type size_type;
             typedef std::ptrdiff_t difference_type;
         };
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk