Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52787 - sandbox/boost0x/boost/function
From: gordon_at_[hidden]
Date: 2009-05-05 19:27:27


Author: gordon.woodhull
Date: 2009-05-05 19:27:26 EDT (Tue, 05 May 2009)
New Revision: 52787
URL: http://svn.boost.org/trac/boost/changeset/52787

Log:
removed obsolete #if
Text files modified:
   sandbox/boost0x/boost/function/function_variadic_invoker.hpp | 6 ------
   1 files changed, 0 insertions(+), 6 deletions(-)

Modified: sandbox/boost0x/boost/function/function_variadic_invoker.hpp
==============================================================================
--- sandbox/boost0x/boost/function/function_variadic_invoker.hpp (original)
+++ sandbox/boost0x/boost/function/function_variadic_invoker.hpp 2009-05-05 19:27:26 EDT (Tue, 05 May 2009)
@@ -103,7 +103,6 @@
          }
       };
 
-#if BOOST_FUNCTION_NUM_ARGS > 0
       /* Handle invocation of member pointers. */
       template<
          typename MemberPtr,
@@ -137,7 +136,6 @@
            BOOST_FUNCTION_RETURN(boost::mem_fn(*f)(args...));
          }
       };
-#endif
 
       template<
          typename FunctionPtr,
@@ -202,7 +200,6 @@
>::type type;
       };
 
-#if BOOST_FUNCTION_NUM_ARGS > 0
       /* Retrieve the appropriate invoker for a member pointer. */
       template<
          typename MemberPtr,
@@ -224,7 +221,6 @@
>
>::type type;
       };
-#endif
 
       /* Given the tag returned by get_function_tag, retrieve the
           actual invoker that will be used for the given function
@@ -272,7 +268,6 @@
          };
       };
 
-#if BOOST_FUNCTION_NUM_ARGS > 0
       /* Retrieve the invoker for a member pointer. */
       template<>
       struct get_invoker<member_ptr_tag>
@@ -306,7 +301,6 @@
            typedef functor_manager<MemberPtr> manager_type;
          };
       };
-#endif
 
       /* Retrieve the invoker for a function object. */
       template<>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk