Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62574 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-06-08 10:18:27


Author: bbartman
Date: 2010-06-08 10:18:26 EDT (Tue, 08 Jun 2010)
New Revision: 62574
URL: http://svn.boost.org/trac/boost/changeset/62574

Log:
setting up enviornment for testing and construction of bitfield_tuple
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp | 9 ++-------
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp | 24 ++++++++++++++++++++++++
   2 files changed, 26 insertions(+), 7 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp 2010-06-08 10:18:26 EDT (Tue, 08 Jun 2010)
@@ -10,16 +10,11 @@
 #include <boost/integer/bit_mask_group_fwd.hpp>
 #include <boost/integer/compound_mask.hpp>
 #include <boost/integer/details/bit_mask_group_impl.hpp>
+#include <boost/integer/details/tagged.hpp>
+
 
 namespace boost {
 
-/** This is used for naming/tagging arguments within the bit_mask_group. */
-template <typename T, typename NameType>
-struct tagged {
- typedef NameType name;
- typedef T value;
- typedef tagged<NameType, T> type;
-};
 
 /** \name bit_mask_group
  * \brief This a psudo variadic class which uses default template parameters

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:18:26 EDT (Tue, 08 Jun 2010)
@@ -7,8 +7,32 @@
 #ifndef BOOST_BITFIELD_TUPLE_HPP
 #define BOOST_BITFIELD_TUPLE_HPP
 
+#include <boost/mpl/vector.hpp>
+#include <boost/mpl/map.hpp>
+
+
 namespace boost {
 
+template <typename Field, typename Tag>
+struct tag {
+ typedef Field field;
+ typedef Tag tag;
+};
+
+
+namespace detials {
+
+
+
+} // end details
+
+
+template < typename Field1,
+ typename Field1,
+ typename Field1,
+
+
+
 } // end boost
 
 #endif


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