2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-14 13:02:10 +00:00

Fixing bug #5968 for msvc

[SVN r74839]
This commit is contained in:
Thomas Heller
2011-10-09 03:27:33 +00:00
parent 4e64b8eb1f
commit ef3832291d

View File

@@ -27,6 +27,7 @@ namespace boost { namespace phoenix
template <typename T>
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>(visitor));
}
template <typename Visitor, typename Expr>
inline void visit_each(Visitor& visitor, actor<Expr> const& a)
{
fusion::for_each(a, detail::visit_each_impl<Visitor>(visitor));
}
}}
#endif