Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 1 | # /* Copyright (C) 2001 |
| 2 | # * Housemarque Oy |
| 3 | # * http://www.housemarque.com |
| 4 | # * |
| 5 | # * Distributed under the Boost Software License, Version 1.0. (See |
| 6 | # * accompanying file LICENSE_1_0.txt or copy at |
| 7 | # * http://www.boost.org/LICENSE_1_0.txt) |
| 8 | # */ |
| 9 | # |
| 10 | # /* Revised by Paul Mensonides (2002) */ |
| 11 | # |
| 12 | # /* See http://www.boost.org for most recent version. */ |
| 13 | # |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 14 | # ifndef NDNBOOST_PREPROCESSOR_LOGICAL_BOOL_HPP |
| 15 | # define NDNBOOST_PREPROCESSOR_LOGICAL_BOOL_HPP |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 16 | # |
Jeff Thompson | 2277ce5 | 2013-08-01 17:34:11 -0700 | [diff] [blame] | 17 | # include <ndnboost/preprocessor/config/config.hpp> |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 18 | # |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 19 | # /* NDNBOOST_PP_BOOL */ |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 20 | # |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 21 | # if ~NDNBOOST_PP_CONFIG_FLAGS() & NDNBOOST_PP_CONFIG_MWCC() |
| 22 | # define NDNBOOST_PP_BOOL(x) NDNBOOST_PP_BOOL_I(x) |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 23 | # else |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 24 | # define NDNBOOST_PP_BOOL(x) NDNBOOST_PP_BOOL_OO((x)) |
| 25 | # define NDNBOOST_PP_BOOL_OO(par) NDNBOOST_PP_BOOL_I ## par |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 26 | # endif |
| 27 | # |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 28 | # define NDNBOOST_PP_BOOL_I(x) NDNBOOST_PP_BOOL_ ## x |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 29 | # |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 30 | # define NDNBOOST_PP_BOOL_0 0 |
| 31 | # define NDNBOOST_PP_BOOL_1 1 |
| 32 | # define NDNBOOST_PP_BOOL_2 1 |
| 33 | # define NDNBOOST_PP_BOOL_3 1 |
| 34 | # define NDNBOOST_PP_BOOL_4 1 |
| 35 | # define NDNBOOST_PP_BOOL_5 1 |
| 36 | # define NDNBOOST_PP_BOOL_6 1 |
| 37 | # define NDNBOOST_PP_BOOL_7 1 |
| 38 | # define NDNBOOST_PP_BOOL_8 1 |
| 39 | # define NDNBOOST_PP_BOOL_9 1 |
| 40 | # define NDNBOOST_PP_BOOL_10 1 |
| 41 | # define NDNBOOST_PP_BOOL_11 1 |
| 42 | # define NDNBOOST_PP_BOOL_12 1 |
| 43 | # define NDNBOOST_PP_BOOL_13 1 |
| 44 | # define NDNBOOST_PP_BOOL_14 1 |
| 45 | # define NDNBOOST_PP_BOOL_15 1 |
| 46 | # define NDNBOOST_PP_BOOL_16 1 |
| 47 | # define NDNBOOST_PP_BOOL_17 1 |
| 48 | # define NDNBOOST_PP_BOOL_18 1 |
| 49 | # define NDNBOOST_PP_BOOL_19 1 |
| 50 | # define NDNBOOST_PP_BOOL_20 1 |
| 51 | # define NDNBOOST_PP_BOOL_21 1 |
| 52 | # define NDNBOOST_PP_BOOL_22 1 |
| 53 | # define NDNBOOST_PP_BOOL_23 1 |
| 54 | # define NDNBOOST_PP_BOOL_24 1 |
| 55 | # define NDNBOOST_PP_BOOL_25 1 |
| 56 | # define NDNBOOST_PP_BOOL_26 1 |
| 57 | # define NDNBOOST_PP_BOOL_27 1 |
| 58 | # define NDNBOOST_PP_BOOL_28 1 |
| 59 | # define NDNBOOST_PP_BOOL_29 1 |
| 60 | # define NDNBOOST_PP_BOOL_30 1 |
| 61 | # define NDNBOOST_PP_BOOL_31 1 |
| 62 | # define NDNBOOST_PP_BOOL_32 1 |
| 63 | # define NDNBOOST_PP_BOOL_33 1 |
| 64 | # define NDNBOOST_PP_BOOL_34 1 |
| 65 | # define NDNBOOST_PP_BOOL_35 1 |
| 66 | # define NDNBOOST_PP_BOOL_36 1 |
| 67 | # define NDNBOOST_PP_BOOL_37 1 |
| 68 | # define NDNBOOST_PP_BOOL_38 1 |
| 69 | # define NDNBOOST_PP_BOOL_39 1 |
| 70 | # define NDNBOOST_PP_BOOL_40 1 |
| 71 | # define NDNBOOST_PP_BOOL_41 1 |
| 72 | # define NDNBOOST_PP_BOOL_42 1 |
| 73 | # define NDNBOOST_PP_BOOL_43 1 |
| 74 | # define NDNBOOST_PP_BOOL_44 1 |
| 75 | # define NDNBOOST_PP_BOOL_45 1 |
| 76 | # define NDNBOOST_PP_BOOL_46 1 |
| 77 | # define NDNBOOST_PP_BOOL_47 1 |
| 78 | # define NDNBOOST_PP_BOOL_48 1 |
| 79 | # define NDNBOOST_PP_BOOL_49 1 |
| 80 | # define NDNBOOST_PP_BOOL_50 1 |
| 81 | # define NDNBOOST_PP_BOOL_51 1 |
| 82 | # define NDNBOOST_PP_BOOL_52 1 |
| 83 | # define NDNBOOST_PP_BOOL_53 1 |
| 84 | # define NDNBOOST_PP_BOOL_54 1 |
| 85 | # define NDNBOOST_PP_BOOL_55 1 |
| 86 | # define NDNBOOST_PP_BOOL_56 1 |
| 87 | # define NDNBOOST_PP_BOOL_57 1 |
| 88 | # define NDNBOOST_PP_BOOL_58 1 |
| 89 | # define NDNBOOST_PP_BOOL_59 1 |
| 90 | # define NDNBOOST_PP_BOOL_60 1 |
| 91 | # define NDNBOOST_PP_BOOL_61 1 |
| 92 | # define NDNBOOST_PP_BOOL_62 1 |
| 93 | # define NDNBOOST_PP_BOOL_63 1 |
| 94 | # define NDNBOOST_PP_BOOL_64 1 |
| 95 | # define NDNBOOST_PP_BOOL_65 1 |
| 96 | # define NDNBOOST_PP_BOOL_66 1 |
| 97 | # define NDNBOOST_PP_BOOL_67 1 |
| 98 | # define NDNBOOST_PP_BOOL_68 1 |
| 99 | # define NDNBOOST_PP_BOOL_69 1 |
| 100 | # define NDNBOOST_PP_BOOL_70 1 |
| 101 | # define NDNBOOST_PP_BOOL_71 1 |
| 102 | # define NDNBOOST_PP_BOOL_72 1 |
| 103 | # define NDNBOOST_PP_BOOL_73 1 |
| 104 | # define NDNBOOST_PP_BOOL_74 1 |
| 105 | # define NDNBOOST_PP_BOOL_75 1 |
| 106 | # define NDNBOOST_PP_BOOL_76 1 |
| 107 | # define NDNBOOST_PP_BOOL_77 1 |
| 108 | # define NDNBOOST_PP_BOOL_78 1 |
| 109 | # define NDNBOOST_PP_BOOL_79 1 |
| 110 | # define NDNBOOST_PP_BOOL_80 1 |
| 111 | # define NDNBOOST_PP_BOOL_81 1 |
| 112 | # define NDNBOOST_PP_BOOL_82 1 |
| 113 | # define NDNBOOST_PP_BOOL_83 1 |
| 114 | # define NDNBOOST_PP_BOOL_84 1 |
| 115 | # define NDNBOOST_PP_BOOL_85 1 |
| 116 | # define NDNBOOST_PP_BOOL_86 1 |
| 117 | # define NDNBOOST_PP_BOOL_87 1 |
| 118 | # define NDNBOOST_PP_BOOL_88 1 |
| 119 | # define NDNBOOST_PP_BOOL_89 1 |
| 120 | # define NDNBOOST_PP_BOOL_90 1 |
| 121 | # define NDNBOOST_PP_BOOL_91 1 |
| 122 | # define NDNBOOST_PP_BOOL_92 1 |
| 123 | # define NDNBOOST_PP_BOOL_93 1 |
| 124 | # define NDNBOOST_PP_BOOL_94 1 |
| 125 | # define NDNBOOST_PP_BOOL_95 1 |
| 126 | # define NDNBOOST_PP_BOOL_96 1 |
| 127 | # define NDNBOOST_PP_BOOL_97 1 |
| 128 | # define NDNBOOST_PP_BOOL_98 1 |
| 129 | # define NDNBOOST_PP_BOOL_99 1 |
| 130 | # define NDNBOOST_PP_BOOL_100 1 |
| 131 | # define NDNBOOST_PP_BOOL_101 1 |
| 132 | # define NDNBOOST_PP_BOOL_102 1 |
| 133 | # define NDNBOOST_PP_BOOL_103 1 |
| 134 | # define NDNBOOST_PP_BOOL_104 1 |
| 135 | # define NDNBOOST_PP_BOOL_105 1 |
| 136 | # define NDNBOOST_PP_BOOL_106 1 |
| 137 | # define NDNBOOST_PP_BOOL_107 1 |
| 138 | # define NDNBOOST_PP_BOOL_108 1 |
| 139 | # define NDNBOOST_PP_BOOL_109 1 |
| 140 | # define NDNBOOST_PP_BOOL_110 1 |
| 141 | # define NDNBOOST_PP_BOOL_111 1 |
| 142 | # define NDNBOOST_PP_BOOL_112 1 |
| 143 | # define NDNBOOST_PP_BOOL_113 1 |
| 144 | # define NDNBOOST_PP_BOOL_114 1 |
| 145 | # define NDNBOOST_PP_BOOL_115 1 |
| 146 | # define NDNBOOST_PP_BOOL_116 1 |
| 147 | # define NDNBOOST_PP_BOOL_117 1 |
| 148 | # define NDNBOOST_PP_BOOL_118 1 |
| 149 | # define NDNBOOST_PP_BOOL_119 1 |
| 150 | # define NDNBOOST_PP_BOOL_120 1 |
| 151 | # define NDNBOOST_PP_BOOL_121 1 |
| 152 | # define NDNBOOST_PP_BOOL_122 1 |
| 153 | # define NDNBOOST_PP_BOOL_123 1 |
| 154 | # define NDNBOOST_PP_BOOL_124 1 |
| 155 | # define NDNBOOST_PP_BOOL_125 1 |
| 156 | # define NDNBOOST_PP_BOOL_126 1 |
| 157 | # define NDNBOOST_PP_BOOL_127 1 |
| 158 | # define NDNBOOST_PP_BOOL_128 1 |
| 159 | # define NDNBOOST_PP_BOOL_129 1 |
| 160 | # define NDNBOOST_PP_BOOL_130 1 |
| 161 | # define NDNBOOST_PP_BOOL_131 1 |
| 162 | # define NDNBOOST_PP_BOOL_132 1 |
| 163 | # define NDNBOOST_PP_BOOL_133 1 |
| 164 | # define NDNBOOST_PP_BOOL_134 1 |
| 165 | # define NDNBOOST_PP_BOOL_135 1 |
| 166 | # define NDNBOOST_PP_BOOL_136 1 |
| 167 | # define NDNBOOST_PP_BOOL_137 1 |
| 168 | # define NDNBOOST_PP_BOOL_138 1 |
| 169 | # define NDNBOOST_PP_BOOL_139 1 |
| 170 | # define NDNBOOST_PP_BOOL_140 1 |
| 171 | # define NDNBOOST_PP_BOOL_141 1 |
| 172 | # define NDNBOOST_PP_BOOL_142 1 |
| 173 | # define NDNBOOST_PP_BOOL_143 1 |
| 174 | # define NDNBOOST_PP_BOOL_144 1 |
| 175 | # define NDNBOOST_PP_BOOL_145 1 |
| 176 | # define NDNBOOST_PP_BOOL_146 1 |
| 177 | # define NDNBOOST_PP_BOOL_147 1 |
| 178 | # define NDNBOOST_PP_BOOL_148 1 |
| 179 | # define NDNBOOST_PP_BOOL_149 1 |
| 180 | # define NDNBOOST_PP_BOOL_150 1 |
| 181 | # define NDNBOOST_PP_BOOL_151 1 |
| 182 | # define NDNBOOST_PP_BOOL_152 1 |
| 183 | # define NDNBOOST_PP_BOOL_153 1 |
| 184 | # define NDNBOOST_PP_BOOL_154 1 |
| 185 | # define NDNBOOST_PP_BOOL_155 1 |
| 186 | # define NDNBOOST_PP_BOOL_156 1 |
| 187 | # define NDNBOOST_PP_BOOL_157 1 |
| 188 | # define NDNBOOST_PP_BOOL_158 1 |
| 189 | # define NDNBOOST_PP_BOOL_159 1 |
| 190 | # define NDNBOOST_PP_BOOL_160 1 |
| 191 | # define NDNBOOST_PP_BOOL_161 1 |
| 192 | # define NDNBOOST_PP_BOOL_162 1 |
| 193 | # define NDNBOOST_PP_BOOL_163 1 |
| 194 | # define NDNBOOST_PP_BOOL_164 1 |
| 195 | # define NDNBOOST_PP_BOOL_165 1 |
| 196 | # define NDNBOOST_PP_BOOL_166 1 |
| 197 | # define NDNBOOST_PP_BOOL_167 1 |
| 198 | # define NDNBOOST_PP_BOOL_168 1 |
| 199 | # define NDNBOOST_PP_BOOL_169 1 |
| 200 | # define NDNBOOST_PP_BOOL_170 1 |
| 201 | # define NDNBOOST_PP_BOOL_171 1 |
| 202 | # define NDNBOOST_PP_BOOL_172 1 |
| 203 | # define NDNBOOST_PP_BOOL_173 1 |
| 204 | # define NDNBOOST_PP_BOOL_174 1 |
| 205 | # define NDNBOOST_PP_BOOL_175 1 |
| 206 | # define NDNBOOST_PP_BOOL_176 1 |
| 207 | # define NDNBOOST_PP_BOOL_177 1 |
| 208 | # define NDNBOOST_PP_BOOL_178 1 |
| 209 | # define NDNBOOST_PP_BOOL_179 1 |
| 210 | # define NDNBOOST_PP_BOOL_180 1 |
| 211 | # define NDNBOOST_PP_BOOL_181 1 |
| 212 | # define NDNBOOST_PP_BOOL_182 1 |
| 213 | # define NDNBOOST_PP_BOOL_183 1 |
| 214 | # define NDNBOOST_PP_BOOL_184 1 |
| 215 | # define NDNBOOST_PP_BOOL_185 1 |
| 216 | # define NDNBOOST_PP_BOOL_186 1 |
| 217 | # define NDNBOOST_PP_BOOL_187 1 |
| 218 | # define NDNBOOST_PP_BOOL_188 1 |
| 219 | # define NDNBOOST_PP_BOOL_189 1 |
| 220 | # define NDNBOOST_PP_BOOL_190 1 |
| 221 | # define NDNBOOST_PP_BOOL_191 1 |
| 222 | # define NDNBOOST_PP_BOOL_192 1 |
| 223 | # define NDNBOOST_PP_BOOL_193 1 |
| 224 | # define NDNBOOST_PP_BOOL_194 1 |
| 225 | # define NDNBOOST_PP_BOOL_195 1 |
| 226 | # define NDNBOOST_PP_BOOL_196 1 |
| 227 | # define NDNBOOST_PP_BOOL_197 1 |
| 228 | # define NDNBOOST_PP_BOOL_198 1 |
| 229 | # define NDNBOOST_PP_BOOL_199 1 |
| 230 | # define NDNBOOST_PP_BOOL_200 1 |
| 231 | # define NDNBOOST_PP_BOOL_201 1 |
| 232 | # define NDNBOOST_PP_BOOL_202 1 |
| 233 | # define NDNBOOST_PP_BOOL_203 1 |
| 234 | # define NDNBOOST_PP_BOOL_204 1 |
| 235 | # define NDNBOOST_PP_BOOL_205 1 |
| 236 | # define NDNBOOST_PP_BOOL_206 1 |
| 237 | # define NDNBOOST_PP_BOOL_207 1 |
| 238 | # define NDNBOOST_PP_BOOL_208 1 |
| 239 | # define NDNBOOST_PP_BOOL_209 1 |
| 240 | # define NDNBOOST_PP_BOOL_210 1 |
| 241 | # define NDNBOOST_PP_BOOL_211 1 |
| 242 | # define NDNBOOST_PP_BOOL_212 1 |
| 243 | # define NDNBOOST_PP_BOOL_213 1 |
| 244 | # define NDNBOOST_PP_BOOL_214 1 |
| 245 | # define NDNBOOST_PP_BOOL_215 1 |
| 246 | # define NDNBOOST_PP_BOOL_216 1 |
| 247 | # define NDNBOOST_PP_BOOL_217 1 |
| 248 | # define NDNBOOST_PP_BOOL_218 1 |
| 249 | # define NDNBOOST_PP_BOOL_219 1 |
| 250 | # define NDNBOOST_PP_BOOL_220 1 |
| 251 | # define NDNBOOST_PP_BOOL_221 1 |
| 252 | # define NDNBOOST_PP_BOOL_222 1 |
| 253 | # define NDNBOOST_PP_BOOL_223 1 |
| 254 | # define NDNBOOST_PP_BOOL_224 1 |
| 255 | # define NDNBOOST_PP_BOOL_225 1 |
| 256 | # define NDNBOOST_PP_BOOL_226 1 |
| 257 | # define NDNBOOST_PP_BOOL_227 1 |
| 258 | # define NDNBOOST_PP_BOOL_228 1 |
| 259 | # define NDNBOOST_PP_BOOL_229 1 |
| 260 | # define NDNBOOST_PP_BOOL_230 1 |
| 261 | # define NDNBOOST_PP_BOOL_231 1 |
| 262 | # define NDNBOOST_PP_BOOL_232 1 |
| 263 | # define NDNBOOST_PP_BOOL_233 1 |
| 264 | # define NDNBOOST_PP_BOOL_234 1 |
| 265 | # define NDNBOOST_PP_BOOL_235 1 |
| 266 | # define NDNBOOST_PP_BOOL_236 1 |
| 267 | # define NDNBOOST_PP_BOOL_237 1 |
| 268 | # define NDNBOOST_PP_BOOL_238 1 |
| 269 | # define NDNBOOST_PP_BOOL_239 1 |
| 270 | # define NDNBOOST_PP_BOOL_240 1 |
| 271 | # define NDNBOOST_PP_BOOL_241 1 |
| 272 | # define NDNBOOST_PP_BOOL_242 1 |
| 273 | # define NDNBOOST_PP_BOOL_243 1 |
| 274 | # define NDNBOOST_PP_BOOL_244 1 |
| 275 | # define NDNBOOST_PP_BOOL_245 1 |
| 276 | # define NDNBOOST_PP_BOOL_246 1 |
| 277 | # define NDNBOOST_PP_BOOL_247 1 |
| 278 | # define NDNBOOST_PP_BOOL_248 1 |
| 279 | # define NDNBOOST_PP_BOOL_249 1 |
| 280 | # define NDNBOOST_PP_BOOL_250 1 |
| 281 | # define NDNBOOST_PP_BOOL_251 1 |
| 282 | # define NDNBOOST_PP_BOOL_252 1 |
| 283 | # define NDNBOOST_PP_BOOL_253 1 |
| 284 | # define NDNBOOST_PP_BOOL_254 1 |
| 285 | # define NDNBOOST_PP_BOOL_255 1 |
| 286 | # define NDNBOOST_PP_BOOL_256 1 |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 287 | # |
| 288 | # endif |