Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57345 - in sandbox/SOC/2009/fusion/boost/fusion: sequence/intrinsic/ext_ support/internal view/reverse_view/detail
From: mr.chr.schmidt_at_[hidden]
Date: 2009-11-03 18:06:29


Author: cschmidt
Date: 2009-11-03 18:06:28 EST (Tue, 03 Nov 2009)
New Revision: 57345
URL: http://svn.boost.org/trac/boost/changeset/57345

Log:
BOOST_FUSION_VARIADIC_TEMPLATES_USED
Text files modified:
   sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/ext_/size_s.hpp | 8 ++++++--
   sandbox/SOC/2009/fusion/boost/fusion/support/internal/template.hpp | 2 ++
   sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/at_impl.hpp | 2 +-
   sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/value_at_impl.hpp | 2 +-
   4 files changed, 10 insertions(+), 4 deletions(-)

Modified: sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/ext_/size_s.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/ext_/size_s.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/sequence/intrinsic/ext_/size_s.hpp 2009-11-03 18:06:28 EST (Tue, 03 Nov 2009)
@@ -32,11 +32,15 @@
             struct result<This(State, Seq)>
               : mpl::plus<
                     segmented_size<
- typename remove_reference<Seq>::type
+ typename detail::remove_reference<Seq>::type
>
- , typename remove_reference<State>::type
+ , typename detail::remove_reference<State>::type
>
             {};
+
+ template<typename State, typename Seq>
+ typename result<size_plus(State,Seq)>::type
+ operator()(State,Seq);
         };
     }
 

Modified: sandbox/SOC/2009/fusion/boost/fusion/support/internal/template.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/support/internal/template.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/support/internal/template.hpp 2009-11-03 18:06:28 EST (Tue, 03 Nov 2009)
@@ -24,6 +24,8 @@
 # include <boost/preprocessor/repetition/enum_params.hpp>
 # include <boost/preprocessor/repetition/enum_binary_params.hpp>
 # include <boost/call_traits.hpp>
+#else
+# define BOOST_FUSION_VARIADIC_TEMPLATES_USED
 #endif
 
 #ifdef BOOST_NO_VARIADIC_TEMPLATES

Modified: sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/at_impl.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/at_impl.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/at_impl.hpp 2009-11-03 18:06:28 EST (Tue, 03 Nov 2009)
@@ -26,7 +26,7 @@
             typedef typename detail::remove_reference<Seq>::type seq;
             typedef mpl::minus<typename seq::size, mpl::int_<1>, N> real_n;
 
- typedef
+ typedef typename
                 result_of::at<
                     typename detail::forward_as<
                         Seq

Modified: sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/value_at_impl.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/value_at_impl.hpp (original)
+++ sandbox/SOC/2009/fusion/boost/fusion/view/reverse_view/detail/value_at_impl.hpp 2009-11-03 18:06:28 EST (Tue, 03 Nov 2009)
@@ -25,7 +25,7 @@
         {
             typedef typename detail::remove_reference<Seq>::type seq;
 
- typedef
+ typedef typename
                 result_of::value_at<
                     typename seq::seq_type
                   , mpl::minus<typename seq::size, mpl::int_<1>, N>


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