Update of /cvsroot/boost/boost/boost/fusion/sequence/view/zip_view
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9689/sequence/view/zip_view

Modified Files:
        zip_view.hpp 
Log Message:
fusion fold and transform passing refs for lvalues as per result_of protocol

Index: zip_view.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/fusion/sequence/view/zip_view/zip_view.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- zip_view.hpp        11 Jun 2007 07:01:04 -0000      1.7
+++ zip_view.hpp        19 Jun 2007 21:30:06 -0000      1.8
@@ -73,8 +73,11 @@
 
             template<typename Lhs, typename Rhs>
             struct result<poly_min(Lhs, Rhs)>
-                : mpl::min<Lhs, Rhs>
-            {};
+            {
+                typedef typename remove_reference<Lhs>::type lhs;
+                typedef typename remove_reference<Rhs>::type rhs;
+                typedef typename mpl::min<lhs, rhs>::type type;
+            };
         };
 
         template<typename Sequences>


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