Update of /cvsroot/boost/boost/boost/xpressive/detail/core/matcher
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23603/boost/xpressive/detail/core/matcher
Modified Files:
action_matcher.hpp
Log Message:
named captures for dynamic regexes, doxygen comments
Index: action_matcher.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- action_matcher.hpp 28 Apr 2007 01:42:16 -0000 1.19
+++ action_matcher.hpp 7 May 2007 04:41:25 -0000 1.20
@@ -13,6 +13,7 @@
# pragma once
#endif
+#include <boost/version.hpp>
#include <boost/ref.hpp>
#include <boost/assert.hpp>
#include <boost/mpl/if.hpp>
@@ -24,11 +25,13 @@
#include <boost/xpressive/detail/core/state.hpp>
#include <boost/xpressive/proto/proto.hpp>
#include <boost/xpressive/proto/context.hpp>
-#include <boost/xpressive/proto/fusion.hpp>
-#include <boost/fusion/sequence/view/transform_view.hpp>
-#include <boost/fusion/functional/invocation/invoke.hpp>
-#include <boost/fusion/algorithm/transformation/push_front.hpp>
-#include <boost/fusion/algorithm/transformation/pop_front.hpp>
+#if BOOST_VERSION >= 103500
+# include <boost/xpressive/proto/fusion.hpp>
+# include <boost/fusion/sequence/view/transform_view.hpp>
+# include <boost/fusion/functional/invocation/invoke.hpp>
+# include <boost/fusion/algorithm/transformation/push_front.hpp>
+# include <boost/fusion/algorithm/transformation/pop_front.hpp>
+#endif
namespace boost { namespace xpressive { namespace detail
{
@@ -89,6 +92,7 @@
: eval_terminal<Expr>
{};
+#if BOOST_VERSION >= 103500
template<typename Expr>
struct eval<Expr, proto::tag::mem_ptr>
{
@@ -135,6 +139,7 @@
);
}
};
+#endif
private:
action_args_type *action_args_;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs