Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62483 - in sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext: . details
From: bbartmanboost_at_[hidden]
Date: 2010-06-06 10:18:52


Author: bbartman
Date: 2010-06-06 10:18:51 EDT (Sun, 06 Jun 2010)
New Revision: 62483
URL: http://svn.boost.org/trac/boost/changeset/62483

Log:
working on organizing thing for the bit_mask_group's fusion extension
Added:
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/bit_mask_group_iterator.hpp
      - copied unchanged from r62481, /sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/bit_field_tuple_iterator.hpp
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/tag_and_fusion_fwd.hpp (contents, props changed)
Removed:
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/bit_field_tuple_iterator.hpp
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/fusion_includes.hpp | 29 +++++++++++++++++++++++++++++
   1 files changed, 29 insertions(+), 0 deletions(-)

Deleted: sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/bit_field_tuple_iterator.hpp
==============================================================================

Added: sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/tag_and_fusion_fwd.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/tag_and_fusion_fwd.hpp 2010-06-06 10:18:51 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,70 @@
+// 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_FUSION_EXT_TAG_AND_FUSION_FWD_HPP
+#define BOOST_BIT_MASK_GROUP_FUSION_EXT_TAG_AND_FUSION_FWD_HPP
+
+namespace boost {
+/** Forward declaration of the iterator, for the fusion sequence extention
+ * bit_mask_group
+ */
+template<typename MaskGroup, unsigned int Pos> struct bit_mask_group_iterator;
+
+namespace details {
+/** bit_mask_group's Sequence tag.
+ * Used for dispatching to overloads.
+ */
+struct bit_mask_group_tag;
+
+/** bit_mask_group's iterator tag. */
+struct bit_mask_group_iterator_tag;
+
+} // end details
+
+
+namespace fusion { namespace extension {
+
+/** All Forward decalations for all of the impl funcitons used by the fusion
+ * extension process.
+ */
+template <typename> struct value_at_impl;
+template <typename> struct deref_impl;
+template <typename> struct next_impl;
+template <typename> struct prior_impl;
+template <typename> struct advance_impl;
+template <typename> struct distance_impl;
+template <typename> struct equal_to_impl;
+template <typename> struct category_of_impl;
+template <typename> struct is_sequence_impl;
+template <typename> struct is_view_impl;
+template <typename> struct begin_impl;
+template <typename> struct end_impl;
+template <typename> struct size_impl;
+template <typename> struct value_at_impl;
+template <typename> struct at_impl;
+template <typename> struct at_key_impl;
+
+/** Forward declaration of all spcilizations. */
+// iterator overloads.
+template <> struct value_at_impl< boost::details::bit_mask_group_iterator_tag >;
+template <> struct deref_impl< boost::details::bit_mask_group_iterator_tag >;
+template <> struct next_impl< boost::details::bit_mask_group_iterator_tag >;
+template <> struct prior_impl< boost::details::bit_mask_group_iterator_tag >;
+template <> struct advance_impl< boost::details::bit_mask_group_iterator_tag >;
+template <> struct distance_impl< boost::details::bit_mask_group_iterator_tag >;
+template <> struct equal_to_impl< boost::details::bit_mask_group_iterator_tag >;
+
+// sequence overloads.
+template <> struct category_of_impl< boost::details::bit_mask_group_tag >;
+template <> struct begin_impl< boost::details::bit_mask_group_tag >;
+template <> struct end_impl< boost::details::bit_mask_group_tag >;
+template <> struct size_impl< boost::details::bit_mask_group_tag >;
+template <> struct value_at_impl< boost::details::bit_mask_group_tag >;
+template <> struct at_impl< boost::details::bit_mask_group_tag >;
+template <> struct at_key_impl< boost::details::bit_mask_group_tag >;
+
+}}} // end boost::fusion::extension
+
+#endif

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/fusion_includes.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/fusion_includes.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/fusion_includes.hpp 2010-06-06 10:18:51 EDT (Sun, 06 Jun 2010)
@@ -0,0 +1,29 @@
+// 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)
+
+
+/** This file contains includes for fusion sequence support for bit_mask_group.
+ * This header file is provided for organizational purposes.
+ */
+#ifndef BOOST_BIT_MASK_GROUP_FUSION_EXT_INCLUDE_HPP
+#define BOOST_BIT_MASK_GROUP_FUSION_EXT_INCLUDE_HPP
+
+/** Include files from boost used for implementing the overloads within
+ * the fusion extension.
+ */
+#include <boost/fusion/support/tag_of_fwd.hpp>
+#include <boost/fusion/include/tag_of_fwd.hpp>
+#include <boost/fusion/support/iterator_base.hpp>
+#include <boost/fusion/support/category_of.hpp>
+#include <boost/type_traits.hpp>
+#include <boost/mpl/minus.hpp>
+#include <boost/mpl/size.hpp>
+
+/** Fusion sequence extension files. */
+#include "details/tag_and_fusion_fwd.hpp"
+
+// #include "details/tag_and_fusion_fwd.hpp"
+
+#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