maybe_include.hpp 8.1 KB

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