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(