From 084b3028d8176fd89b81f050dee9a24e87410e3f Mon Sep 17 00:00:00 2001 From: Christopher Schmidt Date: Sun, 22 Aug 2010 11:29:45 +0000 Subject: [PATCH] fix for #4580 [SVN r64946] --- .../boost/fusion/algorithm/iteration/detail/fold.hpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/algorithm/iteration/detail/fold.hpp b/include/boost/fusion/algorithm/iteration/detail/fold.hpp index 3ce672b3..de33ddd0 100644 --- a/include/boost/fusion/algorithm/iteration/detail/fold.hpp +++ b/include/boost/fusion/algorithm/iteration/detail/fold.hpp @@ -405,7 +405,11 @@ namespace boost { namespace fusion } template - inline typename result_of::fold::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::call( @@ -415,7 +419,11 @@ namespace boost { namespace fusion } template - inline typename result_of::fold::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::call(