1 // Boost.Function library
3 // Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
5 // Permission to copy, use, sell and distribute this software is granted
6 // provided this copyright notice appears in all copies.
7 // Permission to modify the code and to distribute modified code is granted
8 // provided this copyright notice appears in all copies, and a notice
9 // that the code was modified is included with the copyright notice.
11 // This software is provided "as is" without express or implied warranty,
12 // and with no claim as to its suitability for any purpose.
14 // For more information, see http://www.boost.org
16 #ifndef BOOST_FUNCTION_FUNCTION7_HEADER
17 #define BOOST_FUNCTION_FUNCTION7_HEADER
19 #define BOOST_FUNCTION_NUM_ARGS 7
20 #define BOOST_FUNCTION_TEMPLATE_PARMS typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6
21 #define BOOST_FUNCTION_TEMPLATE_ARGS T0, T1, T2, T3, T4, T5, T6
22 #define BOOST_FUNCTION_PARMS T0 a0, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6
23 #define BOOST_FUNCTION_ARGS a0, a1, a2, a3, a4, a5, a6
24 #define BOOST_FUNCTION_NOT_0_PARMS T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6
25 #define BOOST_FUNCTION_NOT_0_ARGS a1, a2, a3, a4, a5, a6
27 #include <boost/function/function_template.hpp>
29 #undef BOOST_FUNCTION_NOT_0_ARGS
30 #undef BOOST_FUNCTION_NOT_0_PARMS
31 #undef BOOST_FUNCTION_ARGS
32 #undef BOOST_FUNCTION_PARMS
33 #undef BOOST_FUNCTION_TEMPLATE_ARGS
34 #undef BOOST_FUNCTION_TEMPLATE_PARMS
35 #undef BOOST_FUNCTION_NUM_ARGS
37 #endif // BOOST_FUNCTION_FUNCTION7_HEADER