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

Modified Files:
        fusion.hpp 
Log Message:
in xpressive actions, foo(x,y) and x->*foo(y) are equivalent

Index: fusion.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/fusion.hpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- fusion.hpp  27 Mar 2007 06:38:16 -0000      1.23
+++ fusion.hpp  27 Mar 2007 07:13:55 -0000      1.24
@@ -76,20 +76,21 @@
           : ctx_(ctx)
         {}
 
-        template<typename Arg>
+        template<typename Expr>
         struct result
         {
             typedef 
                 typename Context::template eval<
-                    typename detail::remove_cv_ref<Arg>::type
+                    typename detail::remove_cv_ref<Expr>::type
                 >::result_type
             type;
         };
 
-        template<typename Arg>
-        typename result<Arg>::type operator()(Arg &arg) const
+        template<typename Expr>
+        typename result<Expr>::type
+        operator()(Expr const &expr) const
         {
-            return arg.eval(ctx_);
+            return expr.eval(this->ctx_);
         }
 
     private:


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