From ef3832291d125be53e00a8ace4f1094d702bf71e Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Sun, 9 Oct 2011 03:27:33 +0000 Subject: [PATCH] Fixing bug #5968 for msvc [SVN r74839] --- include/boost/phoenix/core/visit_each.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/phoenix/core/visit_each.hpp b/include/boost/phoenix/core/visit_each.hpp index 3c7e39a..ad4ca14 100644 --- a/include/boost/phoenix/core/visit_each.hpp +++ b/include/boost/phoenix/core/visit_each.hpp @@ -27,6 +27,7 @@ namespace boost { namespace phoenix template void operator()(T const& t) const { + using boost::visit_each; visit_each(visitor, t); } }; @@ -37,6 +38,12 @@ namespace boost { namespace phoenix { fusion::for_each(a, detail::visit_each_impl(visitor)); } + + template + inline void visit_each(Visitor& visitor, actor const& a) + { + fusion::for_each(a, detail::visit_each_impl(visitor)); + } }} #endif