Update of /cvsroot/boost/boost/boost/function
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21312

Modified Files:
        function_template.hpp 
Log Message:
TR1 conformance: derive from unary_function/binary_function

Index: function_template.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/function/function_template.hpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- function_template.hpp       2 Mar 2006 21:24:57 -0000       1.87
+++ function_template.hpp       8 Jul 2006 18:07:33 -0000       1.88
@@ -446,6 +446,17 @@
     typename Allocator = BOOST_FUNCTION_DEFAULT_ALLOCATOR
   >
   class BOOST_FUNCTION_FUNCTION : public function_base
+
+#if BOOST_FUNCTION_NUM_ARGS == 1
+
+    , public std::unary_function<T0,R>
+
+#elif BOOST_FUNCTION_NUM_ARGS == 2
+
+    , public std::binary_function<T0,T1,R>
+
+#endif
+
   {
   public:
 #ifndef BOOST_NO_VOID_RETURNS


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to