Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63230 - in sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext: . fusion
From: bbartmanboost_at_[hidden]
Date: 2010-06-22 10:24:37


Author: bbartman
Date: 2010-06-22 10:24:35 EDT (Tue, 22 Jun 2010)
New Revision: 63230
URL: http://svn.boost.org/trac/boost/changeset/63230

Log:
fixed fusion sequence problem
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp | 8 ++++----
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp | 2 +-
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp 2010-06-22 10:24:35 EDT (Tue, 22 Jun 2010)
@@ -70,12 +70,12 @@
 
         // const dereference operation.
         static type call(Iter const& iter) {
- return type( iter._data.get_storage() );
+ return type( iter._data.template get<Iter::index::value>() );
         }
 
         // non-const dereference operation.
         static type call(Iter& iter) {
- return type( iter._data.get_storage() );
+ return type( iter._data.template get<Iter::index::value>() );
         }
     };
 
@@ -154,12 +154,12 @@
 
         // const dereference operation.
         static type call(Iter const& iter) {
- return type( iter._data.get_storage() );
+ return type( iter._data.template get<Iter::index::value>() );
         }
 
         // non-const dereference operation.
         static type call(Iter& iter) {
- return type( iter._data.get_storage() );
+ return type( iter._data.template get<Iter::index::value>() );
         }
     };
 

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp 2010-06-22 10:24:35 EDT (Tue, 22 Jun 2010)
@@ -30,7 +30,7 @@
> type;
         // non-const at function.
         static type call(BitfieldTuple& bft) {
- return bft.get<N>();
+ return type( bft.template get<N::value>() );
         }
     };
 };


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