Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57267 - in sandbox/SOC/2009/fusion/boost/fusion: include sequence/intrinsic support
From: mr.chr.schmidt_at_[hidden]
Date: 2009-10-31 20:06:16


Author: cschmidt
Date: 2009-10-31 20:06:15 EDT (Sat, 31 Oct 2009)
New Revision: 57267
URL: http://svn.boost.org/trac/boost/changeset/57267

Log:
spirit fixes
Added:
   sandbox/SOC/2009/fusion/boost/fusion/include/void.hpp (contents, props changed)
   sandbox/SOC/2009/fusion/boost/fusion/support/void.hpp (contents, props changed)
Text files modified:
   sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/at.hpp | 13 ++++++++++++-
   sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/value_at.hpp | 13 ++++++++++++-
   2 files changed, 24 insertions(+), 2 deletions(-)

Added: sandbox/SOC/2009/fusion/boost/fusion/include/void.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2009/fusion/boost/fusion/include/void.hpp 2009-10-31 20:06:15 EDT (Sat, 31 Oct 2009)
@@ -0,0 +1,13 @@
+/*=============================================================================
+ Copyright (c) 2009 Christopher Schmidt
+
+ 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_FUSION_INCLUDE_VOID_HPP
+#define BOOST_FUSION_INCLUDE_VOID_HPP
+
+#include <boost/fusion/support/void.hpp>
+
+#endif

Modified: sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/at.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/at.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/at.hpp 2009-10-31 20:06:15 EDT (Sat, 31 Oct 2009)
@@ -9,7 +9,6 @@
 #define BOOST_FUSION_SEQUENCE_INTRINSIC_AT_HPP
 
 #ifdef BOOST_FUSION_ENABLE_STATIC_ASSERTS
-# include <boost/fusion/container/list/list_fwd.hpp>
 # include <boost/fusion/sequence/intrinsic/size.hpp>
 #endif
 #include <boost/fusion/support/tag_of.hpp>
@@ -26,6 +25,10 @@
 namespace boost { namespace fusion
 {
     struct sequence_facade_tag;
+#ifdef BOOST_FUSION_ENABLE_STATIC_ASSERTS
+ struct list_tag;
+ struct cons_tag;
+#endif
 
     namespace extension
     {
@@ -57,6 +60,10 @@
                         typename traits::tag_of<Seq>::type
                       , list_tag
>
+ , is_same<
+ typename traits::tag_of<Seq>::type
+ , cons_tag
+ >
>));
 
             BOOST_FUSION_INDEX_CHECK(N::value,size<Seq>::value);
@@ -74,6 +81,10 @@
                         typename traits::tag_of<Seq>::type
                       , list_tag
>
+ , is_same<
+ typename traits::tag_of<Seq>::type
+ , cons_tag
+ >
>));
             BOOST_FUSION_INDEX_CHECK(N,size<Seq>::value);
         };

Modified: sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/value_at.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/value_at.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/value_at.hpp 2009-10-31 20:06:15 EDT (Sat, 31 Oct 2009)
@@ -9,7 +9,6 @@
 #define BOOST_FUSION_SEQUENCE_INTRINSIC_VALUE_AT_HPP
 
 #ifdef BOOST_FUSION_ENABLE_STATIC_ASSERTS
-# include <boost/fusion/container/list/list_fwd.hpp>
 # include <boost/fusion/sequence/intrinsic/size.hpp>
 #endif
 #include <boost/fusion/support/tag_of.hpp>
@@ -25,6 +24,10 @@
 namespace boost { namespace fusion
 {
     struct sequence_facade_tag;
+#ifdef BOOST_FUSION_ENABLE_STATIC_ASSERTS
+ struct list_tag;
+ struct cons_tag;
+#endif
 
     namespace extension
     {
@@ -57,6 +60,10 @@
                         typename traits::tag_of<Seq>::type
                       , list_tag
>
+ , is_same<
+ typename traits::tag_of<Seq>::type
+ , cons_tag
+ >
>));
             BOOST_FUSION_INDEX_CHECK(N::value,size<Seq>::value);
             BOOST_FUSION_INDEX_CHECK(N::value,size<Seq>::value);
@@ -74,6 +81,10 @@
                         typename traits::tag_of<Seq>::type
                       , list_tag
>
+ , is_same<
+ typename traits::tag_of<Seq>::type
+ , cons_tag
+ >
>));
             BOOST_FUSION_INDEX_CHECK(N,size<Seq>::value);
             BOOST_FUSION_INDEX_CHECK(N,size<Seq>::value);

Added: sandbox/SOC/2009/fusion/boost/fusion/support/void.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2009/fusion/boost/fusion/support/void.hpp 2009-10-31 20:06:15 EDT (Sat, 31 Oct 2009)
@@ -0,0 +1,16 @@
+/*=============================================================================
+ Copyright (c) 2009 Christopher Schmidt
+
+ 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_FUSION_SUPPORT_VOID_HPP
+#define BOOST_FUSION_SUPPORT_VOID_HPP
+
+namespace boost { namespace fusion
+{
+ struct void_;
+}}
+
+#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