Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-03-27 19:24:18


Author: danieljames
Date: 2008-03-27 19:24:18 EDT (Thu, 27 Mar 2008)
New Revision: 43894
URL: http://svn.boost.org/trac/boost/changeset/43894

Log:
Redeclare 'data' in iterator_base to help compilers which have trouble with accessing the nested typedef.
Text files modified:
   branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp
==============================================================================
--- branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp (original)
+++ branches/unordered/trunk/boost/unordered/detail/hash_table_impl.hpp 2008-03-27 19:24:18 EDT (Thu, 27 Mar 2008)
@@ -253,6 +253,7 @@
 
             class iterator_base
             {
+ typedef BOOST_UNORDERED_TABLE_DATA<Alloc> data;
             public:
                 bucket_ptr bucket_;
                 link_ptr node_;


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