Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55638 - in sandbox/SOC/2009/fusion: . boost/fusion/algorithm/transformation boost/fusion/support boost/fusion/support/internal
From: mr.chr.schmidt_at_[hidden]
Date: 2009-08-17 20:14:21


Author: cschmidt
Date: 2009-08-17 20:14:20 EDT (Mon, 17 Aug 2009)
New Revision: 55638
URL: http://svn.boost.org/trac/boost/changeset/55638

Log:
total recommit as subclipse messed the repository up (3).
Added:
   sandbox/SOC/2009/fusion/boost/fusion/support/internal/workaround.hpp (contents, props changed)
Text files modified:
   sandbox/SOC/2009/fusion/boost/fusion/algorithm/transformation/erase.hpp | 1 +
   sandbox/SOC/2009/fusion/boost/fusion/support/category_of.hpp | 4 ++--
   sandbox/SOC/2009/fusion/build.bat | 4 ++--
   sandbox/SOC/2009/fusion/project-root.jam | 2 +-
   4 files changed, 6 insertions(+), 5 deletions(-)

Modified: sandbox/SOC/2009/fusion/boost/fusion/algorithm/transformation/erase.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/algorithm/transformation/erase.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/algorithm/transformation/erase.hpp 2009-08-17 20:14:20 EDT (Mon, 17 Aug 2009)
@@ -76,6 +76,7 @@
             BOOST_FUSION_MPL_ASSERT((traits::is_forward<Seq>));
             BOOST_FUSION_MPL_ASSERT((traits::is_iterator<First>));
             BOOST_FUSION_MPL_ASSERT((detail::is_in_seq<First, Seq>));
+ BOOST_FUSION_MPL_ASSERT((traits::is_iterator<Last>));
             BOOST_FUSION_MPL_ASSERT((
                 detail::is_in_range<
                     Last

Modified: sandbox/SOC/2009/fusion/boost/fusion/support/category_of.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/support/category_of.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/support/category_of.hpp 2009-08-17 20:14:20 EDT (Mon, 17 Aug 2009)
@@ -27,8 +27,8 @@
     //cschmidt: to ensure full compatibility between fusion and mpl iterators,
     //the tags should inheritate the corresponding mpl tags.
     //Fusion tags may be used as template arguments for iterator base classes
- //(e.g. fusion::iterator_facade), therefore emulate the mpl tags (see
- //(3.4.2/2) for more details.
+ //(e.g. fusion::iterator_facade), therefore emulate the mpl tags
+ //(3.4.2/2 !).
     struct forward_traversal_tag
       : single_pass_traversal_tag
     {

Added: sandbox/SOC/2009/fusion/boost/fusion/support/internal/workaround.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2009/fusion/boost/fusion/support/internal/workaround.hpp 2009-08-17 20:14:20 EDT (Mon, 17 Aug 2009)
@@ -0,0 +1,27 @@
+// Copyright Christopher Schmidt 2009.
+// 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_INTERNAL_WORKAROUND_HPP
+#define BOOST_FUSION_SUPPORT_INTERNAL_WORKAROUND_HPP
+
+#include <boost/config.hpp>
+#ifdef BOOST_NO_RVALUE_REFERENCES
+//cschmidt: see https://svn.boost.org/trac/boost/ticket/3305
+# if defined(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS) || BOOST_WORKAROUND(__GNUC__,<4)
+# include <boost/type_traits/is_const.hpp>
+# include <boost/utility/enable_if.hpp>
+
+# define BOOST_FUSION_EXPLICIT_TEMPLATE_NON_CONST_ARG_OVERLOAD(PRE,ARG,ARG_MODIFIER,POST)\
+ typename lazy_disable_if<\
+ is_const<ARG>\
+ , PRE ARG ARG_MODIFIER, POST\
+ >::type
+# else
+# define BOOST_FUSION_EXPLICIT_TEMPLATE_NON_CONST_ARG_OVERLOAD(PRE,ARG,ARG_MODIFIER,POST)\
+ typename PRE ARG ARG_MODIFIER, POST ::type
+# endif
+#endif
+
+#endif

Modified: sandbox/SOC/2009/fusion/build.bat
==============================================================================
--- sandbox/SOC/2009/fusion/build.bat (original)
+++ sandbox/SOC/2009/fusion/build.bat 2009-08-17 20:14:20 EDT (Mon, 17 Aug 2009)
@@ -29,8 +29,8 @@
 goto :eof
 
 :gcc
-set PATH=C:\Program Files (x86)\MinGWOld\bin;%PATH%
-rem set PATH=C:\Program Files (x86)\MinGW\bin;%PATH%
+rem set PATH=C:\Program Files (x86)\MinGWOld\bin;%PATH%
+set PATH=C:\Program Files (x86)\MinGW\bin;%PATH%
 set TOOLSET=gcc
 goto :eof
 

Modified: sandbox/SOC/2009/fusion/project-root.jam
==============================================================================
--- sandbox/SOC/2009/fusion/project-root.jam (original)
+++ sandbox/SOC/2009/fusion/project-root.jam 2009-08-17 20:14:20 EDT (Mon, 17 Aug 2009)
@@ -10,7 +10,7 @@
     : requirements <include>.
                    <include>$(BOOST_INCLUDES_PATH)
                    <define>BOOST_FUSION_ENABLE_STATIC_ASSERTS
-# <toolset>gcc:<cxxflags>-std=c++0x
+ <toolset>gcc:<cxxflags>-std=c++0x
     : build-dir ../bin
     : default-build debug <link>shared <runtime-link>shared <threading>multi
     ;


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