1 // Boost.Function library
\r
3 // Copyright Douglas Gregor 2003. Use, modification and
\r
4 // distribution is subject to the Boost Software License, Version
\r
5 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
\r
6 // http://www.boost.org/LICENSE_1_0.txt)
\r
8 // For more information, see http://www.boost.org
\r
10 #if BOOST_FUNCTION_NUM_ARGS == 0
\r
11 # ifndef BOOST_FUNCTION_0
\r
12 # define BOOST_FUNCTION_0
\r
13 # include <boost/function/function_template.hpp>
\r
15 #elif BOOST_FUNCTION_NUM_ARGS == 1
\r
16 # ifndef BOOST_FUNCTION_1
\r
17 # define BOOST_FUNCTION_1
\r
18 # include <boost/function/function_template.hpp>
\r
20 #elif BOOST_FUNCTION_NUM_ARGS == 2
\r
21 # ifndef BOOST_FUNCTION_2
\r
22 # define BOOST_FUNCTION_2
\r
23 # include <boost/function/function_template.hpp>
\r
25 #elif BOOST_FUNCTION_NUM_ARGS == 3
\r
26 # ifndef BOOST_FUNCTION_3
\r
27 # define BOOST_FUNCTION_3
\r
28 # include <boost/function/function_template.hpp>
\r
30 #elif BOOST_FUNCTION_NUM_ARGS == 4
\r
31 # ifndef BOOST_FUNCTION_4
\r
32 # define BOOST_FUNCTION_4
\r
33 # include <boost/function/function_template.hpp>
\r
35 #elif BOOST_FUNCTION_NUM_ARGS == 5
\r
36 # ifndef BOOST_FUNCTION_5
\r
37 # define BOOST_FUNCTION_5
\r
38 # include <boost/function/function_template.hpp>
\r
40 #elif BOOST_FUNCTION_NUM_ARGS == 6
\r
41 # ifndef BOOST_FUNCTION_6
\r
42 # define BOOST_FUNCTION_6
\r
43 # include <boost/function/function_template.hpp>
\r
45 #elif BOOST_FUNCTION_NUM_ARGS == 7
\r
46 # ifndef BOOST_FUNCTION_7
\r
47 # define BOOST_FUNCTION_7
\r
48 # include <boost/function/function_template.hpp>
\r
50 #elif BOOST_FUNCTION_NUM_ARGS == 8
\r
51 # ifndef BOOST_FUNCTION_8
\r
52 # define BOOST_FUNCTION_8
\r
53 # include <boost/function/function_template.hpp>
\r
55 #elif BOOST_FUNCTION_NUM_ARGS == 9
\r
56 # ifndef BOOST_FUNCTION_9
\r
57 # define BOOST_FUNCTION_9
\r
58 # include <boost/function/function_template.hpp>
\r
60 #elif BOOST_FUNCTION_NUM_ARGS == 10
\r
61 # ifndef BOOST_FUNCTION_10
\r
62 # define BOOST_FUNCTION_10
\r
63 # include <boost/function/function_template.hpp>
\r
65 #elif BOOST_FUNCTION_NUM_ARGS == 11
\r
66 # ifndef BOOST_FUNCTION_11
\r
67 # define BOOST_FUNCTION_11
\r
68 # include <boost/function/function_template.hpp>
\r
70 #elif BOOST_FUNCTION_NUM_ARGS == 12
\r
71 # ifndef BOOST_FUNCTION_12
\r
72 # define BOOST_FUNCTION_12
\r
73 # include <boost/function/function_template.hpp>
\r
75 #elif BOOST_FUNCTION_NUM_ARGS == 13
\r
76 # ifndef BOOST_FUNCTION_13
\r
77 # define BOOST_FUNCTION_13
\r
78 # include <boost/function/function_template.hpp>
\r
80 #elif BOOST_FUNCTION_NUM_ARGS == 14
\r
81 # ifndef BOOST_FUNCTION_14
\r
82 # define BOOST_FUNCTION_14
\r
83 # include <boost/function/function_template.hpp>
\r
85 #elif BOOST_FUNCTION_NUM_ARGS == 15
\r
86 # ifndef BOOST_FUNCTION_15
\r
87 # define BOOST_FUNCTION_15
\r
88 # include <boost/function/function_template.hpp>
\r
90 #elif BOOST_FUNCTION_NUM_ARGS == 16
\r
91 # ifndef BOOST_FUNCTION_16
\r
92 # define BOOST_FUNCTION_16
\r
93 # include <boost/function/function_template.hpp>
\r
95 #elif BOOST_FUNCTION_NUM_ARGS == 17
\r
96 # ifndef BOOST_FUNCTION_17
\r
97 # define BOOST_FUNCTION_17
\r
98 # include <boost/function/function_template.hpp>
\r
100 #elif BOOST_FUNCTION_NUM_ARGS == 18
\r
101 # ifndef BOOST_FUNCTION_18
\r
102 # define BOOST_FUNCTION_18
\r
103 # include <boost/function/function_template.hpp>
\r
105 #elif BOOST_FUNCTION_NUM_ARGS == 19
\r
106 # ifndef BOOST_FUNCTION_19
\r
107 # define BOOST_FUNCTION_19
\r
108 # include <boost/function/function_template.hpp>
\r
110 #elif BOOST_FUNCTION_NUM_ARGS == 20
\r
111 # ifndef BOOST_FUNCTION_20
\r
112 # define BOOST_FUNCTION_20
\r
113 # include <boost/function/function_template.hpp>
\r
115 #elif BOOST_FUNCTION_NUM_ARGS == 21
\r
116 # ifndef BOOST_FUNCTION_21
\r
117 # define BOOST_FUNCTION_21
\r
118 # include <boost/function/function_template.hpp>
\r
120 #elif BOOST_FUNCTION_NUM_ARGS == 22
\r
121 # ifndef BOOST_FUNCTION_22
\r
122 # define BOOST_FUNCTION_22
\r
123 # include <boost/function/function_template.hpp>
\r
125 #elif BOOST_FUNCTION_NUM_ARGS == 23
\r
126 # ifndef BOOST_FUNCTION_23
\r
127 # define BOOST_FUNCTION_23
\r
128 # include <boost/function/function_template.hpp>
\r
130 #elif BOOST_FUNCTION_NUM_ARGS == 24
\r
131 # ifndef BOOST_FUNCTION_24
\r
132 # define BOOST_FUNCTION_24
\r
133 # include <boost/function/function_template.hpp>
\r
135 #elif BOOST_FUNCTION_NUM_ARGS == 25
\r
136 # ifndef BOOST_FUNCTION_25
\r
137 # define BOOST_FUNCTION_25
\r
138 # include <boost/function/function_template.hpp>
\r
140 #elif BOOST_FUNCTION_NUM_ARGS == 26
\r
141 # ifndef BOOST_FUNCTION_26
\r
142 # define BOOST_FUNCTION_26
\r
143 # include <boost/function/function_template.hpp>
\r
145 #elif BOOST_FUNCTION_NUM_ARGS == 27
\r
146 # ifndef BOOST_FUNCTION_27
\r
147 # define BOOST_FUNCTION_27
\r
148 # include <boost/function/function_template.hpp>
\r
150 #elif BOOST_FUNCTION_NUM_ARGS == 28
\r
151 # ifndef BOOST_FUNCTION_28
\r
152 # define BOOST_FUNCTION_28
\r
153 # include <boost/function/function_template.hpp>
\r
155 #elif BOOST_FUNCTION_NUM_ARGS == 29
\r
156 # ifndef BOOST_FUNCTION_29
\r
157 # define BOOST_FUNCTION_29
\r
158 # include <boost/function/function_template.hpp>
\r
160 #elif BOOST_FUNCTION_NUM_ARGS == 30
\r
161 # ifndef BOOST_FUNCTION_30
\r
162 # define BOOST_FUNCTION_30
\r
163 # include <boost/function/function_template.hpp>
\r
165 #elif BOOST_FUNCTION_NUM_ARGS == 31
\r
166 # ifndef BOOST_FUNCTION_31
\r
167 # define BOOST_FUNCTION_31
\r
168 # include <boost/function/function_template.hpp>
\r
170 #elif BOOST_FUNCTION_NUM_ARGS == 32
\r
171 # ifndef BOOST_FUNCTION_32
\r
172 # define BOOST_FUNCTION_32
\r
173 # include <boost/function/function_template.hpp>
\r
175 #elif BOOST_FUNCTION_NUM_ARGS == 33
\r
176 # ifndef BOOST_FUNCTION_33
\r
177 # define BOOST_FUNCTION_33
\r
178 # include <boost/function/function_template.hpp>
\r
180 #elif BOOST_FUNCTION_NUM_ARGS == 34
\r
181 # ifndef BOOST_FUNCTION_34
\r
182 # define BOOST_FUNCTION_34
\r
183 # include <boost/function/function_template.hpp>
\r
185 #elif BOOST_FUNCTION_NUM_ARGS == 35
\r
186 # ifndef BOOST_FUNCTION_35
\r
187 # define BOOST_FUNCTION_35
\r
188 # include <boost/function/function_template.hpp>
\r
190 #elif BOOST_FUNCTION_NUM_ARGS == 36
\r
191 # ifndef BOOST_FUNCTION_36
\r
192 # define BOOST_FUNCTION_36
\r
193 # include <boost/function/function_template.hpp>
\r
195 #elif BOOST_FUNCTION_NUM_ARGS == 37
\r
196 # ifndef BOOST_FUNCTION_37
\r
197 # define BOOST_FUNCTION_37
\r
198 # include <boost/function/function_template.hpp>
\r
200 #elif BOOST_FUNCTION_NUM_ARGS == 38
\r
201 # ifndef BOOST_FUNCTION_38
\r
202 # define BOOST_FUNCTION_38
\r
203 # include <boost/function/function_template.hpp>
\r
205 #elif BOOST_FUNCTION_NUM_ARGS == 39
\r
206 # ifndef BOOST_FUNCTION_39
\r
207 # define BOOST_FUNCTION_39
\r
208 # include <boost/function/function_template.hpp>
\r
210 #elif BOOST_FUNCTION_NUM_ARGS == 40
\r
211 # ifndef BOOST_FUNCTION_40
\r
212 # define BOOST_FUNCTION_40
\r
213 # include <boost/function/function_template.hpp>
\r
215 #elif BOOST_FUNCTION_NUM_ARGS == 41
\r
216 # ifndef BOOST_FUNCTION_41
\r
217 # define BOOST_FUNCTION_41
\r
218 # include <boost/function/function_template.hpp>
\r
220 #elif BOOST_FUNCTION_NUM_ARGS == 42
\r
221 # ifndef BOOST_FUNCTION_42
\r
222 # define BOOST_FUNCTION_42
\r
223 # include <boost/function/function_template.hpp>
\r
225 #elif BOOST_FUNCTION_NUM_ARGS == 43
\r
226 # ifndef BOOST_FUNCTION_43
\r
227 # define BOOST_FUNCTION_43
\r
228 # include <boost/function/function_template.hpp>
\r
230 #elif BOOST_FUNCTION_NUM_ARGS == 44
\r
231 # ifndef BOOST_FUNCTION_44
\r
232 # define BOOST_FUNCTION_44
\r
233 # include <boost/function/function_template.hpp>
\r
235 #elif BOOST_FUNCTION_NUM_ARGS == 45
\r
236 # ifndef BOOST_FUNCTION_45
\r
237 # define BOOST_FUNCTION_45
\r
238 # include <boost/function/function_template.hpp>
\r
240 #elif BOOST_FUNCTION_NUM_ARGS == 46
\r
241 # ifndef BOOST_FUNCTION_46
\r
242 # define BOOST_FUNCTION_46
\r
243 # include <boost/function/function_template.hpp>
\r
245 #elif BOOST_FUNCTION_NUM_ARGS == 47
\r
246 # ifndef BOOST_FUNCTION_47
\r
247 # define BOOST_FUNCTION_47
\r
248 # include <boost/function/function_template.hpp>
\r
250 #elif BOOST_FUNCTION_NUM_ARGS == 48
\r
251 # ifndef BOOST_FUNCTION_48
\r
252 # define BOOST_FUNCTION_48
\r
253 # include <boost/function/function_template.hpp>
\r
255 #elif BOOST_FUNCTION_NUM_ARGS == 49
\r
256 # ifndef BOOST_FUNCTION_49
\r
257 # define BOOST_FUNCTION_49
\r
258 # include <boost/function/function_template.hpp>
\r
260 #elif BOOST_FUNCTION_NUM_ARGS == 50
\r
261 # ifndef BOOST_FUNCTION_50
\r
262 # define BOOST_FUNCTION_50
\r
263 # include <boost/function/function_template.hpp>
\r
266 # error Cannot handle Boost.Function objects that accept more than 50 arguments!
\r