2001-06-22 14:13:03 +00:00
|
|
|
// Boost.Function library
|
|
|
|
|
2002-08-06 14:20:08 +00:00
|
|
|
// Copyright (C) 2001, 2002 Doug Gregor (gregod@cs.rpi.edu)
|
2001-06-21 16:19:33 +00:00
|
|
|
//
|
|
|
|
// Permission to copy, use, sell and distribute this software is granted
|
|
|
|
// provided this copyright notice appears in all copies.
|
|
|
|
// Permission to modify the code and to distribute modified code is granted
|
|
|
|
// provided this copyright notice appears in all copies, and a notice
|
|
|
|
// that the code was modified is included with the copyright notice.
|
|
|
|
//
|
|
|
|
// This software is provided "as is" without express or implied warranty,
|
|
|
|
// and with no claim as to its suitability for any purpose.
|
|
|
|
|
2002-12-27 16:51:53 +00:00
|
|
|
// For more information, see http://www.boost.org/libs/function
|
2001-06-21 16:19:33 +00:00
|
|
|
|
|
|
|
// William Kempf, Jesse Jones and Karl Nelson were all very helpful in the
|
|
|
|
// design of this library.
|
|
|
|
|
2002-09-24 17:16:17 +00:00
|
|
|
#include <boost/preprocessor/iterate.hpp>
|
2001-06-21 16:19:33 +00:00
|
|
|
|
2002-09-24 17:16:17 +00:00
|
|
|
#ifndef BOOST_FUNCTION_MAX_ARGS
|
|
|
|
# define BOOST_FUNCTION_MAX_ARGS 10
|
|
|
|
#endif // BOOST_FUNCTION_MAX_ARGS
|
2001-06-21 16:19:33 +00:00
|
|
|
|
2002-09-24 17:16:17 +00:00
|
|
|
// Include the prologue here so that the use of file-level iteration
|
|
|
|
// in anything that may be included by function_template.hpp doesn't break
|
|
|
|
#include <boost/function/detail/prologue.hpp>
|
2002-08-05 06:19:17 +00:00
|
|
|
|
2002-09-24 17:16:17 +00:00
|
|
|
// What is the '3' for?
|
|
|
|
#define BOOST_PP_ITERATION_PARAMS_1 (3,(0,BOOST_FUNCTION_MAX_ARGS,<boost/function/detail/function_iterate.hpp>))
|
|
|
|
#include BOOST_PP_ITERATE()
|
2001-06-21 16:19:33 +00:00
|
|
|
|