blob: 90b998e53e8ce090ba1807a2c4e1251f67cfea39 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001// 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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070010#if NDNBOOST_FUNCTION_NUM_ARGS == 0
11# ifndef NDNBOOST_FUNCTION_0
12# define NDNBOOST_FUNCTION_0
Jeff Thompsona28eed82013-08-22 16:21:10 -070013# include <ndnboost/function/function_template.hpp>
14# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070015#elif NDNBOOST_FUNCTION_NUM_ARGS == 1
16# ifndef NDNBOOST_FUNCTION_1
17# define NDNBOOST_FUNCTION_1
Jeff Thompsona28eed82013-08-22 16:21:10 -070018# include <ndnboost/function/function_template.hpp>
19# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070020#elif NDNBOOST_FUNCTION_NUM_ARGS == 2
21# ifndef NDNBOOST_FUNCTION_2
22# define NDNBOOST_FUNCTION_2
Jeff Thompsona28eed82013-08-22 16:21:10 -070023# include <ndnboost/function/function_template.hpp>
24# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070025#elif NDNBOOST_FUNCTION_NUM_ARGS == 3
26# ifndef NDNBOOST_FUNCTION_3
27# define NDNBOOST_FUNCTION_3
Jeff Thompsona28eed82013-08-22 16:21:10 -070028# include <ndnboost/function/function_template.hpp>
29# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070030#elif NDNBOOST_FUNCTION_NUM_ARGS == 4
31# ifndef NDNBOOST_FUNCTION_4
32# define NDNBOOST_FUNCTION_4
Jeff Thompsona28eed82013-08-22 16:21:10 -070033# include <ndnboost/function/function_template.hpp>
34# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070035#elif NDNBOOST_FUNCTION_NUM_ARGS == 5
36# ifndef NDNBOOST_FUNCTION_5
37# define NDNBOOST_FUNCTION_5
Jeff Thompsona28eed82013-08-22 16:21:10 -070038# include <ndnboost/function/function_template.hpp>
39# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070040#elif NDNBOOST_FUNCTION_NUM_ARGS == 6
41# ifndef NDNBOOST_FUNCTION_6
42# define NDNBOOST_FUNCTION_6
Jeff Thompsona28eed82013-08-22 16:21:10 -070043# include <ndnboost/function/function_template.hpp>
44# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070045#elif NDNBOOST_FUNCTION_NUM_ARGS == 7
46# ifndef NDNBOOST_FUNCTION_7
47# define NDNBOOST_FUNCTION_7
Jeff Thompsona28eed82013-08-22 16:21:10 -070048# include <ndnboost/function/function_template.hpp>
49# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070050#elif NDNBOOST_FUNCTION_NUM_ARGS == 8
51# ifndef NDNBOOST_FUNCTION_8
52# define NDNBOOST_FUNCTION_8
Jeff Thompsona28eed82013-08-22 16:21:10 -070053# include <ndnboost/function/function_template.hpp>
54# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070055#elif NDNBOOST_FUNCTION_NUM_ARGS == 9
56# ifndef NDNBOOST_FUNCTION_9
57# define NDNBOOST_FUNCTION_9
Jeff Thompsona28eed82013-08-22 16:21:10 -070058# include <ndnboost/function/function_template.hpp>
59# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070060#elif NDNBOOST_FUNCTION_NUM_ARGS == 10
61# ifndef NDNBOOST_FUNCTION_10
62# define NDNBOOST_FUNCTION_10
Jeff Thompsona28eed82013-08-22 16:21:10 -070063# include <ndnboost/function/function_template.hpp>
64# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070065#elif NDNBOOST_FUNCTION_NUM_ARGS == 11
66# ifndef NDNBOOST_FUNCTION_11
67# define NDNBOOST_FUNCTION_11
Jeff Thompsona28eed82013-08-22 16:21:10 -070068# include <ndnboost/function/function_template.hpp>
69# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070070#elif NDNBOOST_FUNCTION_NUM_ARGS == 12
71# ifndef NDNBOOST_FUNCTION_12
72# define NDNBOOST_FUNCTION_12
Jeff Thompsona28eed82013-08-22 16:21:10 -070073# include <ndnboost/function/function_template.hpp>
74# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070075#elif NDNBOOST_FUNCTION_NUM_ARGS == 13
76# ifndef NDNBOOST_FUNCTION_13
77# define NDNBOOST_FUNCTION_13
Jeff Thompsona28eed82013-08-22 16:21:10 -070078# include <ndnboost/function/function_template.hpp>
79# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070080#elif NDNBOOST_FUNCTION_NUM_ARGS == 14
81# ifndef NDNBOOST_FUNCTION_14
82# define NDNBOOST_FUNCTION_14
Jeff Thompsona28eed82013-08-22 16:21:10 -070083# include <ndnboost/function/function_template.hpp>
84# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070085#elif NDNBOOST_FUNCTION_NUM_ARGS == 15
86# ifndef NDNBOOST_FUNCTION_15
87# define NDNBOOST_FUNCTION_15
Jeff Thompsona28eed82013-08-22 16:21:10 -070088# include <ndnboost/function/function_template.hpp>
89# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070090#elif NDNBOOST_FUNCTION_NUM_ARGS == 16
91# ifndef NDNBOOST_FUNCTION_16
92# define NDNBOOST_FUNCTION_16
Jeff Thompsona28eed82013-08-22 16:21:10 -070093# include <ndnboost/function/function_template.hpp>
94# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -070095#elif NDNBOOST_FUNCTION_NUM_ARGS == 17
96# ifndef NDNBOOST_FUNCTION_17
97# define NDNBOOST_FUNCTION_17
Jeff Thompsona28eed82013-08-22 16:21:10 -070098# include <ndnboost/function/function_template.hpp>
99# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700100#elif NDNBOOST_FUNCTION_NUM_ARGS == 18
101# ifndef NDNBOOST_FUNCTION_18
102# define NDNBOOST_FUNCTION_18
Jeff Thompsona28eed82013-08-22 16:21:10 -0700103# include <ndnboost/function/function_template.hpp>
104# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700105#elif NDNBOOST_FUNCTION_NUM_ARGS == 19
106# ifndef NDNBOOST_FUNCTION_19
107# define NDNBOOST_FUNCTION_19
Jeff Thompsona28eed82013-08-22 16:21:10 -0700108# include <ndnboost/function/function_template.hpp>
109# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700110#elif NDNBOOST_FUNCTION_NUM_ARGS == 20
111# ifndef NDNBOOST_FUNCTION_20
112# define NDNBOOST_FUNCTION_20
Jeff Thompsona28eed82013-08-22 16:21:10 -0700113# include <ndnboost/function/function_template.hpp>
114# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700115#elif NDNBOOST_FUNCTION_NUM_ARGS == 21
116# ifndef NDNBOOST_FUNCTION_21
117# define NDNBOOST_FUNCTION_21
Jeff Thompsona28eed82013-08-22 16:21:10 -0700118# include <ndnboost/function/function_template.hpp>
119# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700120#elif NDNBOOST_FUNCTION_NUM_ARGS == 22
121# ifndef NDNBOOST_FUNCTION_22
122# define NDNBOOST_FUNCTION_22
Jeff Thompsona28eed82013-08-22 16:21:10 -0700123# include <ndnboost/function/function_template.hpp>
124# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700125#elif NDNBOOST_FUNCTION_NUM_ARGS == 23
126# ifndef NDNBOOST_FUNCTION_23
127# define NDNBOOST_FUNCTION_23
Jeff Thompsona28eed82013-08-22 16:21:10 -0700128# include <ndnboost/function/function_template.hpp>
129# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700130#elif NDNBOOST_FUNCTION_NUM_ARGS == 24
131# ifndef NDNBOOST_FUNCTION_24
132# define NDNBOOST_FUNCTION_24
Jeff Thompsona28eed82013-08-22 16:21:10 -0700133# include <ndnboost/function/function_template.hpp>
134# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700135#elif NDNBOOST_FUNCTION_NUM_ARGS == 25
136# ifndef NDNBOOST_FUNCTION_25
137# define NDNBOOST_FUNCTION_25
Jeff Thompsona28eed82013-08-22 16:21:10 -0700138# include <ndnboost/function/function_template.hpp>
139# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700140#elif NDNBOOST_FUNCTION_NUM_ARGS == 26
141# ifndef NDNBOOST_FUNCTION_26
142# define NDNBOOST_FUNCTION_26
Jeff Thompsona28eed82013-08-22 16:21:10 -0700143# include <ndnboost/function/function_template.hpp>
144# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700145#elif NDNBOOST_FUNCTION_NUM_ARGS == 27
146# ifndef NDNBOOST_FUNCTION_27
147# define NDNBOOST_FUNCTION_27
Jeff Thompsona28eed82013-08-22 16:21:10 -0700148# include <ndnboost/function/function_template.hpp>
149# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700150#elif NDNBOOST_FUNCTION_NUM_ARGS == 28
151# ifndef NDNBOOST_FUNCTION_28
152# define NDNBOOST_FUNCTION_28
Jeff Thompsona28eed82013-08-22 16:21:10 -0700153# include <ndnboost/function/function_template.hpp>
154# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700155#elif NDNBOOST_FUNCTION_NUM_ARGS == 29
156# ifndef NDNBOOST_FUNCTION_29
157# define NDNBOOST_FUNCTION_29
Jeff Thompsona28eed82013-08-22 16:21:10 -0700158# include <ndnboost/function/function_template.hpp>
159# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700160#elif NDNBOOST_FUNCTION_NUM_ARGS == 30
161# ifndef NDNBOOST_FUNCTION_30
162# define NDNBOOST_FUNCTION_30
Jeff Thompsona28eed82013-08-22 16:21:10 -0700163# include <ndnboost/function/function_template.hpp>
164# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700165#elif NDNBOOST_FUNCTION_NUM_ARGS == 31
166# ifndef NDNBOOST_FUNCTION_31
167# define NDNBOOST_FUNCTION_31
Jeff Thompsona28eed82013-08-22 16:21:10 -0700168# include <ndnboost/function/function_template.hpp>
169# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700170#elif NDNBOOST_FUNCTION_NUM_ARGS == 32
171# ifndef NDNBOOST_FUNCTION_32
172# define NDNBOOST_FUNCTION_32
Jeff Thompsona28eed82013-08-22 16:21:10 -0700173# include <ndnboost/function/function_template.hpp>
174# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700175#elif NDNBOOST_FUNCTION_NUM_ARGS == 33
176# ifndef NDNBOOST_FUNCTION_33
177# define NDNBOOST_FUNCTION_33
Jeff Thompsona28eed82013-08-22 16:21:10 -0700178# include <ndnboost/function/function_template.hpp>
179# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700180#elif NDNBOOST_FUNCTION_NUM_ARGS == 34
181# ifndef NDNBOOST_FUNCTION_34
182# define NDNBOOST_FUNCTION_34
Jeff Thompsona28eed82013-08-22 16:21:10 -0700183# include <ndnboost/function/function_template.hpp>
184# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700185#elif NDNBOOST_FUNCTION_NUM_ARGS == 35
186# ifndef NDNBOOST_FUNCTION_35
187# define NDNBOOST_FUNCTION_35
Jeff Thompsona28eed82013-08-22 16:21:10 -0700188# include <ndnboost/function/function_template.hpp>
189# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700190#elif NDNBOOST_FUNCTION_NUM_ARGS == 36
191# ifndef NDNBOOST_FUNCTION_36
192# define NDNBOOST_FUNCTION_36
Jeff Thompsona28eed82013-08-22 16:21:10 -0700193# include <ndnboost/function/function_template.hpp>
194# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700195#elif NDNBOOST_FUNCTION_NUM_ARGS == 37
196# ifndef NDNBOOST_FUNCTION_37
197# define NDNBOOST_FUNCTION_37
Jeff Thompsona28eed82013-08-22 16:21:10 -0700198# include <ndnboost/function/function_template.hpp>
199# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700200#elif NDNBOOST_FUNCTION_NUM_ARGS == 38
201# ifndef NDNBOOST_FUNCTION_38
202# define NDNBOOST_FUNCTION_38
Jeff Thompsona28eed82013-08-22 16:21:10 -0700203# include <ndnboost/function/function_template.hpp>
204# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700205#elif NDNBOOST_FUNCTION_NUM_ARGS == 39
206# ifndef NDNBOOST_FUNCTION_39
207# define NDNBOOST_FUNCTION_39
Jeff Thompsona28eed82013-08-22 16:21:10 -0700208# include <ndnboost/function/function_template.hpp>
209# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700210#elif NDNBOOST_FUNCTION_NUM_ARGS == 40
211# ifndef NDNBOOST_FUNCTION_40
212# define NDNBOOST_FUNCTION_40
Jeff Thompsona28eed82013-08-22 16:21:10 -0700213# include <ndnboost/function/function_template.hpp>
214# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700215#elif NDNBOOST_FUNCTION_NUM_ARGS == 41
216# ifndef NDNBOOST_FUNCTION_41
217# define NDNBOOST_FUNCTION_41
Jeff Thompsona28eed82013-08-22 16:21:10 -0700218# include <ndnboost/function/function_template.hpp>
219# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700220#elif NDNBOOST_FUNCTION_NUM_ARGS == 42
221# ifndef NDNBOOST_FUNCTION_42
222# define NDNBOOST_FUNCTION_42
Jeff Thompsona28eed82013-08-22 16:21:10 -0700223# include <ndnboost/function/function_template.hpp>
224# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700225#elif NDNBOOST_FUNCTION_NUM_ARGS == 43
226# ifndef NDNBOOST_FUNCTION_43
227# define NDNBOOST_FUNCTION_43
Jeff Thompsona28eed82013-08-22 16:21:10 -0700228# include <ndnboost/function/function_template.hpp>
229# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700230#elif NDNBOOST_FUNCTION_NUM_ARGS == 44
231# ifndef NDNBOOST_FUNCTION_44
232# define NDNBOOST_FUNCTION_44
Jeff Thompsona28eed82013-08-22 16:21:10 -0700233# include <ndnboost/function/function_template.hpp>
234# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700235#elif NDNBOOST_FUNCTION_NUM_ARGS == 45
236# ifndef NDNBOOST_FUNCTION_45
237# define NDNBOOST_FUNCTION_45
Jeff Thompsona28eed82013-08-22 16:21:10 -0700238# include <ndnboost/function/function_template.hpp>
239# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700240#elif NDNBOOST_FUNCTION_NUM_ARGS == 46
241# ifndef NDNBOOST_FUNCTION_46
242# define NDNBOOST_FUNCTION_46
Jeff Thompsona28eed82013-08-22 16:21:10 -0700243# include <ndnboost/function/function_template.hpp>
244# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700245#elif NDNBOOST_FUNCTION_NUM_ARGS == 47
246# ifndef NDNBOOST_FUNCTION_47
247# define NDNBOOST_FUNCTION_47
Jeff Thompsona28eed82013-08-22 16:21:10 -0700248# include <ndnboost/function/function_template.hpp>
249# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700250#elif NDNBOOST_FUNCTION_NUM_ARGS == 48
251# ifndef NDNBOOST_FUNCTION_48
252# define NDNBOOST_FUNCTION_48
Jeff Thompsona28eed82013-08-22 16:21:10 -0700253# include <ndnboost/function/function_template.hpp>
254# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700255#elif NDNBOOST_FUNCTION_NUM_ARGS == 49
256# ifndef NDNBOOST_FUNCTION_49
257# define NDNBOOST_FUNCTION_49
Jeff Thompsona28eed82013-08-22 16:21:10 -0700258# include <ndnboost/function/function_template.hpp>
259# endif
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700260#elif NDNBOOST_FUNCTION_NUM_ARGS == 50
261# ifndef NDNBOOST_FUNCTION_50
262# define NDNBOOST_FUNCTION_50
Jeff Thompsona28eed82013-08-22 16:21:10 -0700263# include <ndnboost/function/function_template.hpp>
264# endif
265#else
266# error Cannot handle Boost.Function objects that accept more than 50 arguments!
267#endif