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

Modified Files:
        context.hpp 
Log Message:
experimental xpressive actions

Index: context.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/context.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- context.hpp 18 Mar 2007 00:36:47 -0000      1.8
+++ context.hpp 22 Mar 2007 17:37:16 -0000      1.9
@@ -314,6 +314,12 @@
         #include BOOST_PP_ITERATE()
         #undef BOOST_PROTO_ARG
 
+            template<typename A0, typename A1>
+            typename result<derived_type(proto::tag::comma, A0 &, A1 &)>::type
+            operator()(proto::tag::comma, A0 &a0, A1 &a1)
+            {
+                return a0.eval(this->cast()), a1.eval(this->cast());
+            }
         };
 
     }}


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to