Update of /cvsroot/boost/boost/boost/fusion/functional/adapter/detail
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv543/functional/adapter/detail

Modified Files:
        nullary_call_base.hpp 
Log Message:
fixes for msvc related to fusion result_of compatibility

Index: nullary_call_base.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/fusion/functional/adapter/detail/nullary_call_base.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- nullary_call_base.hpp       11 Jun 2007 07:01:03 -0000      1.2
+++ nullary_call_base.hpp       11 Jun 2007 21:09:44 -0000      1.3
@@ -23,10 +23,15 @@
 {
     struct reserved { };
 
+    template<typename Function>
+    struct get_result_spec
+    {
+        typedef typename remove_const<typename 
remove_reference<Function>::type>::type function;
+        typedef typename function::template result<function(fusion::vector0)> 
type;
+    };
+
     template <class Derived, class Function, bool Enable = detail::has_type< 
-        typename remove_reference<Function>::type
-          ::template result<
-        typename remove_const<typename 
remove_reference<Function>::type>::type(fusion::vector0)> >::value>
+        typename get_result_spec<Function>::type>::value>
     struct nullary_call_base
     {
         template <typename T> inline void operator()(T reserved::*) const { }


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