Update of /cvsroot/boost/boost/boost/fusion/functional/invocation
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17700

Modified Files:
        invoke_function_object.hpp 
Log Message:
corrects missing references in boost::result_of signature


Index: invoke_function_object.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/fusion/functional/invocation/invoke_function_object.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- invoke_function_object.hpp  13 Jul 2007 16:26:50 -0000      1.5
+++ invoke_function_object.hpp  13 Jul 2007 16:37:22 -0000      1.6
@@ -27,10 +27,9 @@
 #include <boost/fusion/support/category_of.hpp>
 #include <boost/fusion/sequence/intrinsic/size.hpp>
 #include <boost/fusion/sequence/intrinsic/at.hpp>
-#include <boost/fusion/sequence/intrinsic/value_at.hpp>
 #include <boost/fusion/sequence/intrinsic/begin.hpp>
 #include <boost/fusion/iterator/next.hpp>
-#include <boost/fusion/iterator/value_of.hpp>
+#include <boost/fusion/iterator/deref.hpp>
 #include <boost/fusion/functional/invocation/limits.hpp>
 
 namespace boost { namespace fusion
@@ -116,7 +115,7 @@
             typedef typename boost::result_of<
 #define M(z,j,data)                                                            
 \
     typename boost::remove_reference<                                          
\
-        typename result_of::value_at_c<Sequence,j>::type >::type 
+        typename result_of::at_c<Sequence,j>::type >::type 
                 Function (BOOST_PP_ENUM(N,M,~)) >::type result_type;
 #undef M
 
@@ -161,14 +160,12 @@
         {
 #if N > 0
             typedef typename result_of::begin<Sequence>::type I0;
-            typedef typename boost::remove_reference< 
-                typename result_of::value_of<I0>::type >::type T0;
+            typedef typename result_of::deref<I0>::type T0;
 
 #define M(z,i,data)                                                            
 \
             typedef typename result_of::next<                                  
\
                 BOOST_PP_CAT(I,BOOST_PP_DEC(i))>::type I##i;                   
\
-            typedef typename boost::remove_reference<                          
\
-                typename result_of::value_of<I##i>::type >::type T##i;
+            typedef typename result_of::deref<I##i>::type T##i;
 
             BOOST_PP_REPEAT_FROM_TO(1,N,M,~)
 #undef M


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