Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64946 - trunk/boost/fusion/algorithm/iteration/detail
From: mr.chr.schmidt_at_[hidden]
Date: 2010-08-22 07:29:46


Author: cschmidt
Date: 2010-08-22 07:29:45 EDT (Sun, 22 Aug 2010)
New Revision: 64946
URL: http://svn.boost.org/trac/boost/changeset/64946

Log:
fix for #4580
Text files modified:
   trunk/boost/fusion/algorithm/iteration/detail/fold.hpp | 12 ++++++++++--
   1 files changed, 10 insertions(+), 2 deletions(-)

Modified: trunk/boost/fusion/algorithm/iteration/detail/fold.hpp
==============================================================================
--- trunk/boost/fusion/algorithm/iteration/detail/fold.hpp (original)
+++ trunk/boost/fusion/algorithm/iteration/detail/fold.hpp 2010-08-22 07:29:45 EDT (Sun, 22 Aug 2010)
@@ -405,7 +405,11 @@
     }
 
     template<typename Seq, typename State, typename F>
- inline typename result_of::fold<Seq,State const,F>::type
+ inline typename result_of::BOOST_FUSION_FOLD_NAME<
+ Seq
+ , State const
+ , F
+ >::type
     BOOST_FUSION_FOLD_NAME(Seq& seq,State const& state,F f)
     {
         return result_of::BOOST_FUSION_FOLD_NAME<Seq,State const,F>::call(
@@ -415,7 +419,11 @@
     }
 
     template<typename Seq, typename State, typename F>
- inline typename result_of::fold<Seq const,State const,F>::type
+ inline typename result_of::BOOST_FUSION_FOLD_NAME<
+ Seq const
+ , State const
+ , F
+ >::type
     BOOST_FUSION_FOLD_NAME(Seq const& seq,State const& state,F f)
     {
         return result_of::BOOST_FUSION_FOLD_NAME<Seq const,State const,F>::call(


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