Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62980 - in sandbox/SOC/2010/bit_masks/boost/integer: . details/bft/ext details/bft/ext/fusion
From: bbartmanboost_at_[hidden]
Date: 2010-06-15 12:27:35


Author: bbartman
Date: 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
New Revision: 62980
URL: http://svn.boost.org/trac/boost/changeset/62980

Log:
working on implementing the bitfield tuple classes fusion extension
Added:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple_fwd.hpp (contents, props changed)
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp | 4 +++-
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp | 16 +++++++++++++---
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_key_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/begin_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/category_of_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/end_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/has_key_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_sequence_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_view_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/size_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_key_impl.hpp | 4 ++++
   sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/tag_of.hpp | 28 ++++++++++++++++++++++++++++
   15 files changed, 92 insertions(+), 4 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-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -17,8 +17,8 @@
 #include <boost/mpl/less.hpp>
 #include <boost/mpl/size.hpp>
 #include <string>
-#include <boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp>
 
+#include <boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp>
 
 namespace boost {
 
@@ -331,4 +331,6 @@
 
 } // end boost
 
+
+
 #endif

Added: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple_fwd.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple_fwd.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,27 @@
+// 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_BITFIELD_TUPLE_FWD_HPP
+#define BOOST_BITFIELD_TUPLE_FWD_HPP
+
+namespace boost {
+
+template < typename T0,
+ typename T1,
+ typename T2,
+ typename T3,
+ typename T4,
+ typename T5,
+ typename T6,
+ typename T7,
+ typename T8,
+ typename T9
+>
+struct bitfield_tuple;
+
+}// end boost
+
+#endif

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_iterator.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -6,8 +6,18 @@
 
 #ifndef BOOST_BITFIELD_TUPLE_FUSION_INCLUDES_HPP
 #define BOOST_BITFIELD_TUPLE_FUSION_INCLUDES_HPP
-
-
-
+#include "tag_of.hpp"
+#include "bitfield_iterator.hpp"
+#include "fusion/at_impl.hpp"
+#include "fusion/end_impl.hpp"
+#include "fusion/size_impl.hpp"
+#include "fusion/at_key_impl.hpp"
+#include "fusion/has_key_impl.hpp"
+#include "fusion/value_at_impl.hpp"
+#include "fusion/begin_impl.hpp"
+#include "fusion/is_sequence_impl.hpp"
+#include "fusion/value_at_key_impl.hpp"
+#include "fusion/category_of_impl.hpp"
+#include "fusion/is_view_impl.hpp"
 #endif
 

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_key_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_key_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/at_key_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/begin_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/begin_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/begin_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/category_of_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/category_of_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/category_of_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/end_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/end_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/end_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/has_key_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/has_key_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/has_key_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_sequence_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_sequence_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_sequence_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_view_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_view_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/is_view_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/size_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/size_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/size_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_key_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_key_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/fusion/value_at_key_impl.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,4 @@
+// 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)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/tag_of.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/tag_of.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/ext/tag_of.hpp 2010-06-15 12:27:32 EDT (Tue, 15 Jun 2010)
@@ -0,0 +1,28 @@
+// 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_BITFIELD_TUPLE_FUSION_EXT_TAG_OF
+#define BOOST_BITFIELD_TUPLE_FUSION_EXT_TAG_OF
+#include <boost/integer/bitfield_tuple_fwd.hpp>
+#include <boost/fusion/support/tag_of_fwd.hpp>
+
+namespace boost { namespace fusion {
+
+ struct bitfield_tuple_tag;
+
+ namespace traits {
+
+ /** bit_T_group specilization. */
+ template < typename T0, typename T1, typename T2, typename T3,
+ typename T4, typename T5, typename T6, typename T7,
+ typename T8, typename T9 >
+ struct tag_of< boost::bitfield_tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> >{
+ typedef bitfield_tuple_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