$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62603 - sandbox/SOC/2010/bit_masks/lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-06-08 18:46:13
Author: bbartman
Date: 2010-06-08 18:46:13 EDT (Tue, 08 Jun 2010)
New Revision: 62603
URL: http://svn.boost.org/trac/boost/changeset/62603
Log:
Completed the parsing framework for the parameters in the bitfield_tuple
Text files modified: 
   sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp |    17 +++++++++++++++++                       
   1 files changed, 17 insertions(+), 0 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp	(original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp	2010-06-08 18:46:13 EDT (Tue, 08 Jun 2010)
@@ -5,6 +5,8 @@
 
 #include <boost/integer/bitfield_tuple.hpp>
 #include "test_type_list.hpp"
+#include <boost/mpl/front.hpp>
+
 void ignore(...) {}
 
 struct red { };
@@ -86,12 +88,27 @@
     
     typedef bitfield_tuple< storage<int>, member<int,red,3> > bft;
     typedef bft::processed_args pa;
+
+    // checking for storage type.
     BOOST_MPL_ASSERT((
         is_same<
             pa::storage_policy,
             storage<int>
         >
     ));
+
+    BOOST_MPL_ASSERT((
+        is_same<
+            mpl::front< pa::field_vector >::type,
+            details::bitfield_element_<
+                int,
+                red,
+                mpl::size_t<0>,
+                mpl::size_t<3> 
+            > 
+        >
+    ));
+
     }
     return 0;
 }