$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62580 - in sandbox/SOC/2010/bit_masks/boost/integer: . details
From: bbartmanboost_at_[hidden]
Date: 2010-06-08 10:27:14
Author: bbartman
Date: 2010-06-08 10:27:13 EDT (Tue, 08 Jun 2010)
New Revision: 62580
URL: http://svn.boost.org/trac/boost/changeset/62580
Log:
working on composing a data structure for bitfield_tuple.
Text files modified: 
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp  |    28 +++++++++++++++-------------            
   sandbox/SOC/2010/bit_masks/boost/integer/details/storage.hpp |    33 +++++++++++++++++++++++++++++++++       
   2 files changed, 48 insertions(+), 13 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 10:27:13 EDT (Tue, 08 Jun 2010)
@@ -9,27 +9,29 @@
 
 #include <boost/mpl/vector.hpp>
 #include <boost/mpl/map.hpp>
-
-
+#include <boost/integer/details/tagged.hpp>
+#include <boost/integer/details/storage.hpp>
 namespace boost {
 
-template <typename Field, typename Tag>
-struct tag {
-    typedef Field   field;
-    typedef Tag     tag;
-};
-
-
 namespace detials {
 
-
+// template <typename 
+// struct bitfield_tuple_impl_
 
 } // end details
 
 
-template <  typename Field1,
-            typename Field1,
-            typename Field1,
+template <  typename T0,
+            typename T2,
+            typename T3,
+            typename T4,
+            typename T5,
+            typename T6,
+            typename T7,
+            typename T8,
+            typename T9
+>
+struct bitfield_tuple { };
 
 
 
Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/storage.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/storage.hpp	(original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/storage.hpp	2010-06-08 10:27:13 EDT (Tue, 08 Jun 2010)
@@ -0,0 +1,33 @@
+//  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)
+
+
+#ifndef BOOST_BIT_MASKS_TAGGED_HPP
+#define BOOST_BIT_MASKS_TAGGED_HPP
+
+#include <allocator>
+
+namespace boost {
+
+/** This structure is used for specifying the storage type within
+ *  bitfield tuple and bit_mask_tuple.
+ *  This allos allows the user to specify their own allocator for the internal
+ *  internal bit data. Thinking about adding a possible specialization 
+ *  for stack allocating the underlying type via a tag or something similar.
+ *
+ *
+ */
+template <  typename StorageType,
+            typename Alloc = typename std::allocator<StorageType>
+    >
+struct storage {
+    typedef NameType            name;
+    typedef T                   value;
+    typedef tagged<NameType, T> type;
+};
+
+} // end boost
+
+#endif