Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62590 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-06-08 14:32:00


Author: bbartman
Date: 2010-06-08 14:31:59 EDT (Tue, 08 Jun 2010)
New Revision: 62590
URL: http://svn.boost.org/trac/boost/changeset/62590

Log:
working on competing implementation for bitfield_tuple
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp | 12 +-----------
   1 files changed, 1 insertions(+), 11 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp 2010-06-08 14:31:59 EDT (Tue, 08 Jun 2010)
@@ -54,20 +54,17 @@
  */
 template <typename Storage = mpl::void_,
           typename FieldVector = typename mpl::vector<>,
- typename NameVactor = typename mpl::vector<>,
           std::size_t NextOffset = 0
>
 struct bitfield_tuple_info_ {
     typedef Storage storage_policy;
     typedef FieldVector field_vector;
- typedef NameVactor name_vector;
     BOOST_STATIC_CONSTANT( std::size_t, next_offset = NextOffset );
 
 
     typedef bitfield_tuple_info_ <
         storage_policy,
         field_vector,
- name_vector,
         NextOffset
> type;
 
@@ -91,7 +88,6 @@
         typedef typename bitfield_tuple_info_ <
             NewStorageType,
             field_vector,
- name_vector,
             NextOffset
>::type type;
     };
@@ -113,12 +109,6 @@
                     TypeToAdd::field_width
>::type
>::type,
-
- // adding name into the name vector.
- typename mpl::push_back<
- field_vector,
- typename TypeToAdd::name
- >::type,
             NextOffset + TypeToAdd::field_width
>::type type;
     };
@@ -246,7 +236,7 @@
             typename storage_policy::storage_type
>,
         typename storage_policy::alloc
- >::type allocation_policy;
+ >::type allocation_policy;
         
         
 


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