Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62494 - in sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext: . details
From: bbartmanboost_at_[hidden]
Date: 2010-06-06 16:57:13


Author: bbartman
Date: 2010-06-06 16:57:12 EDT (Sun, 06 Jun 2010)
New Revision: 62494
URL: http://svn.boost.org/trac/boost/changeset/62494

Log:
almost done debugging my fusion extention for bit mask group type
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/category_of_impl.hpp | 20 +++++++++++++-------
   sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/fusion_includes.hpp | 2 +-
   2 files changed, 14 insertions(+), 8 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/category_of_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/category_of_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bit_mask_group_fusion_ext/details/category_of_impl.hpp 2010-06-06 16:57:12 EDT (Sun, 06 Jun 2010)
@@ -6,15 +6,21 @@
 #ifndef BOOST_BIT_MASK_GROUP_FUSION_EXT_CATEGORY_OF_IMPL_HPP
 #define BOOST_BIT_MASK_GROUP_FUSION_EXT_CATEGORY_OF_IMPL_HPP
 
-namespace boost { namespace fusion { namespace extension {
+namespace boost { namespace fusion {
 
-template <>
-struct category_of_impl< boost::details::bit_mask_group_tag > {
- template<typename T>
- struct apply {
- typedef random_access_traversal_tag type;
+ struct bit_mask_group_tag;
+
+ namespace extension {
+
+ template <typename> struct category_of_impl;
+
+ template <>
+ struct category_of_impl< bit_mask_group_tag > {
+ template<typename T>
+ struct apply {
+ typedef random_access_traversal_tag type;
+ };
     };
-};
 
 }}} // end boost::fusion::extension
 

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 16:57:12 EDT (Sun, 06 Jun 2010)
@@ -25,7 +25,7 @@
 #include "details/tag_and_fusion_fwd.hpp"
 #include "bit_mask_group_iterator.hpp"
 #include "tag_of.hpp"
-// #include "details/category_of_impl.hpp"
+#include "details/category_of_impl.hpp"
 #include "details/is_sequence_impl.hpp"
 #include "details/is_view_impl.hpp"
 #include "details/end_impl.hpp"


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