$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r63385 - in sandbox/SOC/2010/bit_masks: boost/integer lib/integer/test lib/integer/test/bft_testing
From: bbartmanboost_at_[hidden]
Date: 2010-06-27 10:24:34
Author: bbartman
Date: 2010-06-27 10:24:33 EDT (Sun, 27 Jun 2010)
New Revision: 63385
URL: http://svn.boost.org/trac/boost/changeset/63385
Log:
adding testing facilities for make_bitfield_tuple function
Added:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp   (contents, props changed)
Text files modified: 
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp |     3 +++                                     
   sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2      |     1 +                                       
   2 files changed, 4 insertions(+), 0 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-27 10:24:33 EDT (Sun, 27 Jun 2010)
@@ -20,6 +20,9 @@
 #include <boost/integer/details/bft/reference_builder.hpp>
 #include <boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp>
 #include <boost/integer/details/fusion_ext_includes.hpp>
+#include <boost/integer/details/bft/make_bitfield_tuple.hpp>
+
+
 
 namespace boost {
 
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2	(original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2	2010-06-27 10:24:33 EDT (Sun, 27 Jun 2010)
@@ -49,5 +49,6 @@
             :
             :
             <toolset>gcc:<cxxflags>-Wno-long-long <toolset>darwin:<cxxflags>-Wno-long-long ]
+        [ run bft_testing/make_bft_testing.cpp ]
     ;
 
Added: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp	2010-06-27 10:24:33 EDT (Sun, 27 Jun 2010)
@@ -0,0 +1,34 @@
+//  Copyright 2010 Brian Bartman.
+//  Distributed under the Boost Software License, Version 1.0.
+//  (See accompanying file LICENSE_1_0.txt or copy at 
+//  http://www.boost.org/LICENSE_1_0.txt)
+
+
+#include <boost/integer/bitfield_tuple.hpp>
+#include <boost/assert.hpp>
+
+
+using namespace boost;
+
+struct red;
+struct green;
+struct pink;
+struct blue;
+struct salmon;
+
+typedef bitfield_tuple<
+    member<char,red,4>,
+    member<unsigned char, green,5>,
+    storage<std::size_t>,
+    filler<3>,
+    member<int, salmon, 16>,
+    flag<blue>
+>                                       test_tuple;
+
+
+int main() {
+    
+    return 0;
+}
+
+