Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62456 - in sandbox/SOC/2010/bit_masks/boost/integer: . details
From: bbartmanboost_at_[hidden]
Date: 2010-06-05 14:47:43


Author: bbartman
Date: 2010-06-05 14:47:42 EDT (Sat, 05 Jun 2010)
New Revision: 62456
URL: http://svn.boost.org/trac/boost/changeset/62456

Log:
still working on creating a fusion sequence out of my template bit_mask_group
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp | 4 ++--
   sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group_fwd.hpp | 20 ++++++++++++++++++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_impl.hpp | 11 +++++------
   3 files changed, 27 insertions(+), 8 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-05 14:47:42 EDT (Sat, 05 Jun 2010)
@@ -7,9 +7,9 @@
 #ifndef BOOST_BIT_MASK_GROUP_HPP
 #define BOOST_BIT_MASK_GROUP_HPP
 
-
+#include <boost/integer/bit_mask_group_fwd.hpp>
 #include <boost/integer/compound_mask.hpp>
-#include <boost/integer/bit_mask_group_impl.hpp>
+#include <boost/integer/details/bit_mask_group_impl.hpp>
 #include <boost/mpl/vector.hpp>
 #include <boost/mpl/map.hpp>
 #include <boost/mpl/insert.hpp>

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group_fwd.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group_fwd.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group_fwd.hpp 2010-06-05 14:47:42 EDT (Sat, 05 Jun 2010)
@@ -0,0 +1,20 @@
+// 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_MASK_GROUP_FWD_HPP
+#define BOOST_BIT_MASK_GROUP_FWD_HPP
+
+/** Forward declaration of template bit_mask_group. */
+namespace boost {
+
+template < typename Mask0, typename Mask1, typename Mask2, typename Mask3,
+ typename Mask4, typename Mask5, typename Mask6, typename Mask7,
+ typename Mask8, typename Mask9
+ >
+struct bit_mask_group;
+
+}
+
+#endif

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_impl.hpp 2010-06-05 14:47:42 EDT (Sat, 05 Jun 2010)
@@ -6,6 +6,10 @@
 #ifndef BOOST_BIT_MASK_GROUP_IMPL_HPP
 #define BOOST_BIT_MASK_GROUP_IMPL_HPP
 
+#include <boost/fusion/support/tag_of_fwd.hpp>
+#include <boost/fusion/include/tag_of_fwd.hpp>
+
+
 /** This is used for creating an extention into the boost fusion library for
  * the bit_mask_group.
  */
@@ -26,9 +30,6 @@
 /** Next step in sequence extention.
  * Adding dispatch look up mechanism.
  */
-#include <boost/fusion/support/tag_of_fwd.hpp>
-#include <boost/fusion/include/tag_of_fwd.hpp>
-
 namespace boost { namespace fusion { namespace traits {
 
     template<>
@@ -38,11 +39,9 @@
     struct tag_of< boost::bit_mask_group<Mask0, Mask1, Mask2, Mask3, Mask4,
                            Mask5, Mask6, Mask7, Mask8, Mask9 > >
     {
- typedef example::bit_mask_group_tag type;
+ typedef boost::details::bit_mask_group_tag type;
     };
 }}} // end boost::fusion::traits
 
 
-
-
 #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