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