function_iterate.hpp 534 B

12345678910111213141516
  1. // Boost.Function library
  2. // Copyright Douglas Gregor 2003. Use, modification and
  3. // distribution is subject to the Boost Software License, Version
  4. // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. // For more information, see http://www.boost.org
  7. #if !defined(BOOST_PP_IS_ITERATING)
  8. # error Boost.Function - do not include this file!
  9. #endif
  10. #define BOOST_FUNCTION_NUM_ARGS BOOST_PP_ITERATION()
  11. #include <boost/function/detail/maybe_include.hpp>
  12. #undef BOOST_FUNCTION_NUM_ARGS