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