|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74839 - trunk/boost/phoenix/core
From: thom.heller_at_[hidden]
Date: 2011-10-08 23:27:34
Author: theller
Date: 2011-10-08 23:27:33 EDT (Sat, 08 Oct 2011)
New Revision: 74839
URL: http://svn.boost.org/trac/boost/changeset/74839
Log:
Fixing bug #5968 for msvc
Text files modified:
trunk/boost/phoenix/core/visit_each.hpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/boost/phoenix/core/visit_each.hpp
==============================================================================
--- trunk/boost/phoenix/core/visit_each.hpp (original)
+++ trunk/boost/phoenix/core/visit_each.hpp 2011-10-08 23:27:33 EDT (Sat, 08 Oct 2011)
@@ -27,6 +27,7 @@
template <typename T>
void operator()(T const& t) const
{
+ using boost::visit_each;
visit_each(visitor, t);
}
};
@@ -37,6 +38,12 @@
{
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
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