Update of /cvsroot/boost/boost/boost/xpressive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8654/boost/xpressive

Modified Files:
        regex_actions.hpp 
Log Message:
rename arg<> to placeholder<>, make POD

Index: regex_actions.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_actions.hpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- regex_actions.hpp   30 Apr 2007 00:28:21 -0000      1.17
+++ regex_actions.hpp   30 Apr 2007 01:00:16 -0000      1.18
@@ -465,12 +465,16 @@
         return proto::as_expr(p);
     }
 
-    template<typename T, int I = 0>
-    struct arg
-      : proto::extends<typename proto::terminal<detail::action_arg<T, 
mpl::int_<I> > >::type, arg<T, I> >
+    template<typename T, int I = 0, typename Dummy = proto::is_proto_expr>
+    struct placeholder
     {
-        typedef proto::extends<typename proto::terminal<detail::action_arg<T, 
mpl::int_<I> > >::type, arg<T, I> > base_type;
-        using base_type::operator =;
+        typedef placeholder<T, I, Dummy> this_type;
+        typedef typename proto::terminal<detail::action_arg<T, mpl::int_<I> > 
>::type action_arg_type;
+
+        BOOST_PROTO_EXTENDS(action_arg_type, this_type, proto::default_context)
+        BOOST_PROTO_EXTENDS_ASSIGN(action_arg_type, this_type, 
proto::default_context)
+        BOOST_PROTO_EXTENDS_SUBSCRIPT(action_arg_type, this_type, 
proto::default_context)
+        BOOST_PROTO_EXTENDS_FUNCTION(action_arg_type, this_type, 
proto::default_context)
     };
 
     /// construct


-------------------------------------------------------------------------
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

Reply via email to