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

Modified Files:
        fold.hpp 
Log Message:
fix bug in fold compilers

Index: fold.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/compiler/fold.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fold.hpp    29 Oct 2006 06:14:41 -0000      1.6
+++ fold.hpp    13 Dec 2006 00:51:31 -0000      1.7
@@ -27,8 +27,8 @@
         template<typename Expr, typename State, typename Visitor>
         struct apply
         {
-            typedef typename Expr::arg0_type left_type;
-            typedef typename Expr::arg1_type right_type;
+            typedef typename Expr::arg0_type::expr_type left_type;
+            typedef typename Expr::arg1_type::expr_type right_type;
 
             // compile the right branch
             typedef typename compiler<typename left_type::tag_type, 
DomainTag>::
@@ -73,8 +73,8 @@
         template<typename Expr, typename State, typename Visitor>
         struct apply
         {
-            typedef typename Expr::arg0_type left_type;
-            typedef typename Expr::arg1_type right_type;
+            typedef typename Expr::arg0_type::expr_type left_type;
+            typedef typename Expr::arg1_type::expr_type right_type;
 
             // compile the right branch
             typedef typename compiler<typename right_type::tag_type, 
DomainTag>::


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