1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/function.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,64 @@
1.4 +// Boost.Function library
1.5 +
1.6 +// Copyright Douglas Gregor 2001-2003. Use, modification and
1.7 +// distribution is subject to the Boost Software License, Version
1.8 +// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
1.9 +// http://www.boost.org/LICENSE_1_0.txt)
1.10 +
1.11 +// For more information, see http://www.boost.org/libs/function
1.12 +
1.13 +// William Kempf, Jesse Jones and Karl Nelson were all very helpful in the
1.14 +// design of this library.
1.15 +
1.16 +#include <boost/preprocessor/iterate.hpp>
1.17 +#include <boost/detail/workaround.hpp>
1.18 +
1.19 +#ifndef BOOST_FUNCTION_MAX_ARGS
1.20 +# define BOOST_FUNCTION_MAX_ARGS 10
1.21 +#endif // BOOST_FUNCTION_MAX_ARGS
1.22 +
1.23 +// Include the prologue here so that the use of file-level iteration
1.24 +// in anything that may be included by function_template.hpp doesn't break
1.25 +#include <boost/function/detail/prologue.hpp>
1.26 +
1.27 +// Visual Age C++ doesn't handle the file iteration well
1.28 +#if BOOST_WORKAROUND(__IBMCPP__, >= 500)
1.29 +# if BOOST_FUNCTION_MAX_ARGS >= 0
1.30 +# include <boost/function/function0.hpp>
1.31 +# endif
1.32 +# if BOOST_FUNCTION_MAX_ARGS >= 1
1.33 +# include <boost/function/function1.hpp>
1.34 +# endif
1.35 +# if BOOST_FUNCTION_MAX_ARGS >= 2
1.36 +# include <boost/function/function2.hpp>
1.37 +# endif
1.38 +# if BOOST_FUNCTION_MAX_ARGS >= 3
1.39 +# include <boost/function/function3.hpp>
1.40 +# endif
1.41 +# if BOOST_FUNCTION_MAX_ARGS >= 4
1.42 +# include <boost/function/function4.hpp>
1.43 +# endif
1.44 +# if BOOST_FUNCTION_MAX_ARGS >= 5
1.45 +# include <boost/function/function5.hpp>
1.46 +# endif
1.47 +# if BOOST_FUNCTION_MAX_ARGS >= 6
1.48 +# include <boost/function/function6.hpp>
1.49 +# endif
1.50 +# if BOOST_FUNCTION_MAX_ARGS >= 7
1.51 +# include <boost/function/function7.hpp>
1.52 +# endif
1.53 +# if BOOST_FUNCTION_MAX_ARGS >= 8
1.54 +# include <boost/function/function8.hpp>
1.55 +# endif
1.56 +# if BOOST_FUNCTION_MAX_ARGS >= 9
1.57 +# include <boost/function/function9.hpp>
1.58 +# endif
1.59 +# if BOOST_FUNCTION_MAX_ARGS >= 10
1.60 +# include <boost/function/function10.hpp>
1.61 +# endif
1.62 +#else
1.63 +// What is the '3' for?
1.64 +# define BOOST_PP_ITERATION_PARAMS_1 (3,(0,BOOST_FUNCTION_MAX_ARGS,<boost/function/detail/function_iterate.hpp>))
1.65 +# include BOOST_PP_ITERATE()
1.66 +# undef BOOST_PP_ITERATION_PARAMS_1
1.67 +#endif