Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-04 08:17:11

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Paul Mensonides 2005.                                  *
0004 #  *     Distributed under the Boost Software License, Version 1.0. (See      *
0005 #  *     accompanying file LICENSE_1_0.txt or copy at                         *
0006 #  *     http://www.boost.org/LICENSE_1_0.txt)                                *
0007 #  *                                                                          *
0008 #  ************************************************************************** */
0009 0010 ">#
0011 # /* See http://www.boost.org for most recent version. */
0012 0013 ">#
0014 # define BOOST_PP_VALUE BOOST_PP_COUNTER + 1
0015 0016 ">#
0017 # include <boost/preprocessor/slot/detail/shared.hpp>
0018 0019 ">#
0020 # undef BOOST_PP_COUNTER
0021 0022 ">#
0023 # undef BOOST_PP_COUNTER_DIGIT_1
0024 # undef BOOST_PP_COUNTER_DIGIT_2
0025 # undef BOOST_PP_COUNTER_DIGIT_3
0026 # undef BOOST_PP_COUNTER_DIGIT_4
0027 # undef BOOST_PP_COUNTER_DIGIT_5
0028 # undef BOOST_PP_COUNTER_DIGIT_6
0029 # undef BOOST_PP_COUNTER_DIGIT_7
0030 # undef BOOST_PP_COUNTER_DIGIT_8
0031 # undef BOOST_PP_COUNTER_DIGIT_9
0032 # undef BOOST_PP_COUNTER_DIGIT_10
0033 0034 ">#
0035 # if BOOST_PP_SLOT_TEMP_10 == 0
0036 #    define BOOST_PP_COUNTER_DIGIT_10 0
0037 # elif BOOST_PP_SLOT_TEMP_10 == 1
0038 #    define BOOST_PP_COUNTER_DIGIT_10 1
0039 # elif BOOST_PP_SLOT_TEMP_10 == 2
0040 #    define BOOST_PP_COUNTER_DIGIT_10 2
0041 # elif BOOST_PP_SLOT_TEMP_10 == 3
0042 #    define BOOST_PP_COUNTER_DIGIT_10 3
0043 # elif BOOST_PP_SLOT_TEMP_10 == 4
0044 #    define BOOST_PP_COUNTER_DIGIT_10 4
0045 # elif BOOST_PP_SLOT_TEMP_10 == 5
0046 #    define BOOST_PP_COUNTER_DIGIT_10 5
0047 # elif BOOST_PP_SLOT_TEMP_10 == 6
0048 #    define BOOST_PP_COUNTER_DIGIT_10 6
0049 # elif BOOST_PP_SLOT_TEMP_10 == 7
0050 #    define BOOST_PP_COUNTER_DIGIT_10 7
0051 # elif BOOST_PP_SLOT_TEMP_10 == 8
0052 #    define BOOST_PP_COUNTER_DIGIT_10 8
0053 # elif BOOST_PP_SLOT_TEMP_10 == 9
0054 #    define BOOST_PP_COUNTER_DIGIT_10 9
0055 # endif
0056 0057 ">#
0058 # if BOOST_PP_SLOT_TEMP_9 == 0
0059 #    define BOOST_PP_COUNTER_DIGIT_9 0
0060 # elif BOOST_PP_SLOT_TEMP_9 == 1
0061 #    define BOOST_PP_COUNTER_DIGIT_9 1
0062 # elif BOOST_PP_SLOT_TEMP_9 == 2
0063 #    define BOOST_PP_COUNTER_DIGIT_9 2
0064 # elif BOOST_PP_SLOT_TEMP_9 == 3
0065 #    define BOOST_PP_COUNTER_DIGIT_9 3
0066 # elif BOOST_PP_SLOT_TEMP_9 == 4
0067 #    define BOOST_PP_COUNTER_DIGIT_9 4
0068 # elif BOOST_PP_SLOT_TEMP_9 == 5
0069 #    define BOOST_PP_COUNTER_DIGIT_9 5
0070 # elif BOOST_PP_SLOT_TEMP_9 == 6
0071 #    define BOOST_PP_COUNTER_DIGIT_9 6
0072 # elif BOOST_PP_SLOT_TEMP_9 == 7
0073 #    define BOOST_PP_COUNTER_DIGIT_9 7
0074 # elif BOOST_PP_SLOT_TEMP_9 == 8
0075 #    define BOOST_PP_COUNTER_DIGIT_9 8
0076 # elif BOOST_PP_SLOT_TEMP_9 == 9
0077 #    define BOOST_PP_COUNTER_DIGIT_9 9
0078 # endif
0079 0080 ">#
0081 # if BOOST_PP_SLOT_TEMP_8 == 0
0082 #    define BOOST_PP_COUNTER_DIGIT_8 0
0083 # elif BOOST_PP_SLOT_TEMP_8 == 1
0084 #    define BOOST_PP_COUNTER_DIGIT_8 1
0085 # elif BOOST_PP_SLOT_TEMP_8 == 2
0086 #    define BOOST_PP_COUNTER_DIGIT_8 2
0087 # elif BOOST_PP_SLOT_TEMP_8 == 3
0088 #    define BOOST_PP_COUNTER_DIGIT_8 3
0089 # elif BOOST_PP_SLOT_TEMP_8 == 4
0090 #    define BOOST_PP_COUNTER_DIGIT_8 4
0091 # elif BOOST_PP_SLOT_TEMP_8 == 5
0092 #    define BOOST_PP_COUNTER_DIGIT_8 5
0093 # elif BOOST_PP_SLOT_TEMP_8 == 6
0094 #    define BOOST_PP_COUNTER_DIGIT_8 6
0095 # elif BOOST_PP_SLOT_TEMP_8 == 7
0096 #    define BOOST_PP_COUNTER_DIGIT_8 7
0097 # elif BOOST_PP_SLOT_TEMP_8 == 8
0098 #    define BOOST_PP_COUNTER_DIGIT_8 8
0099 # elif BOOST_PP_SLOT_TEMP_8 == 9
0100 #    define BOOST_PP_COUNTER_DIGIT_8 9
0101 # endif
0102 0103 ">#
0104 # if BOOST_PP_SLOT_TEMP_7 == 0
0105 #    define BOOST_PP_COUNTER_DIGIT_7 0
0106 # elif BOOST_PP_SLOT_TEMP_7 == 1
0107 #    define BOOST_PP_COUNTER_DIGIT_7 1
0108 # elif BOOST_PP_SLOT_TEMP_7 == 2
0109 #    define BOOST_PP_COUNTER_DIGIT_7 2
0110 # elif BOOST_PP_SLOT_TEMP_7 == 3
0111 #    define BOOST_PP_COUNTER_DIGIT_7 3
0112 # elif BOOST_PP_SLOT_TEMP_7 == 4
0113 #    define BOOST_PP_COUNTER_DIGIT_7 4
0114 # elif BOOST_PP_SLOT_TEMP_7 == 5
0115 #    define BOOST_PP_COUNTER_DIGIT_7 5
0116 # elif BOOST_PP_SLOT_TEMP_7 == 6
0117 #    define BOOST_PP_COUNTER_DIGIT_7 6
0118 # elif BOOST_PP_SLOT_TEMP_7 == 7
0119 #    define BOOST_PP_COUNTER_DIGIT_7 7
0120 # elif BOOST_PP_SLOT_TEMP_7 == 8
0121 #    define BOOST_PP_COUNTER_DIGIT_7 8
0122 # elif BOOST_PP_SLOT_TEMP_7 == 9
0123 #    define BOOST_PP_COUNTER_DIGIT_7 9
0124 # endif
0125 0126 ">#
0127 # if BOOST_PP_SLOT_TEMP_6 == 0
0128 #    define BOOST_PP_COUNTER_DIGIT_6 0
0129 # elif BOOST_PP_SLOT_TEMP_6 == 1
0130 #    define BOOST_PP_COUNTER_DIGIT_6 1
0131 # elif BOOST_PP_SLOT_TEMP_6 == 2
0132 #    define BOOST_PP_COUNTER_DIGIT_6 2
0133 # elif BOOST_PP_SLOT_TEMP_6 == 3
0134 #    define BOOST_PP_COUNTER_DIGIT_6 3
0135 # elif BOOST_PP_SLOT_TEMP_6 == 4
0136 #    define BOOST_PP_COUNTER_DIGIT_6 4
0137 # elif BOOST_PP_SLOT_TEMP_6 == 5
0138 #    define BOOST_PP_COUNTER_DIGIT_6 5
0139 # elif BOOST_PP_SLOT_TEMP_6 == 6
0140 #    define BOOST_PP_COUNTER_DIGIT_6 6
0141 # elif BOOST_PP_SLOT_TEMP_6 == 7
0142 #    define BOOST_PP_COUNTER_DIGIT_6 7
0143 # elif BOOST_PP_SLOT_TEMP_6 == 8
0144 #    define BOOST_PP_COUNTER_DIGIT_6 8
0145 # elif BOOST_PP_SLOT_TEMP_6 == 9
0146 #    define BOOST_PP_COUNTER_DIGIT_6 9
0147 # endif
0148 0149 ">#
0150 # if BOOST_PP_SLOT_TEMP_5 == 0
0151 #    define BOOST_PP_COUNTER_DIGIT_5 0
0152 # elif BOOST_PP_SLOT_TEMP_5 == 1
0153 #    define BOOST_PP_COUNTER_DIGIT_5 1
0154 # elif BOOST_PP_SLOT_TEMP_5 == 2
0155 #    define BOOST_PP_COUNTER_DIGIT_5 2
0156 # elif BOOST_PP_SLOT_TEMP_5 == 3
0157 #    define BOOST_PP_COUNTER_DIGIT_5 3
0158 # elif BOOST_PP_SLOT_TEMP_5 == 4
0159 #    define BOOST_PP_COUNTER_DIGIT_5 4
0160 # elif BOOST_PP_SLOT_TEMP_5 == 5
0161 #    define BOOST_PP_COUNTER_DIGIT_5 5
0162 # elif BOOST_PP_SLOT_TEMP_5 == 6
0163 #    define BOOST_PP_COUNTER_DIGIT_5 6
0164 # elif BOOST_PP_SLOT_TEMP_5 == 7
0165 #    define BOOST_PP_COUNTER_DIGIT_5 7
0166 # elif BOOST_PP_SLOT_TEMP_5 == 8
0167 #    define BOOST_PP_COUNTER_DIGIT_5 8
0168 # elif BOOST_PP_SLOT_TEMP_5 == 9
0169 #    define BOOST_PP_COUNTER_DIGIT_5 9
0170 # endif
0171 0172 ">#
0173 # if BOOST_PP_SLOT_TEMP_4 == 0
0174 #    define BOOST_PP_COUNTER_DIGIT_4 0
0175 # elif BOOST_PP_SLOT_TEMP_4 == 1
0176 #    define BOOST_PP_COUNTER_DIGIT_4 1
0177 # elif BOOST_PP_SLOT_TEMP_4 == 2
0178 #    define BOOST_PP_COUNTER_DIGIT_4 2
0179 # elif BOOST_PP_SLOT_TEMP_4 == 3
0180 #    define BOOST_PP_COUNTER_DIGIT_4 3
0181 # elif BOOST_PP_SLOT_TEMP_4 == 4
0182 #    define BOOST_PP_COUNTER_DIGIT_4 4
0183 # elif BOOST_PP_SLOT_TEMP_4 == 5
0184 #    define BOOST_PP_COUNTER_DIGIT_4 5
0185 # elif BOOST_PP_SLOT_TEMP_4 == 6
0186 #    define BOOST_PP_COUNTER_DIGIT_4 6
0187 # elif BOOST_PP_SLOT_TEMP_4 == 7
0188 #    define BOOST_PP_COUNTER_DIGIT_4 7
0189 # elif BOOST_PP_SLOT_TEMP_4 == 8
0190 #    define BOOST_PP_COUNTER_DIGIT_4 8
0191 # elif BOOST_PP_SLOT_TEMP_4 == 9
0192 #    define BOOST_PP_COUNTER_DIGIT_4 9
0193 # endif
0194 0195 ">#
0196 # if BOOST_PP_SLOT_TEMP_3 == 0
0197 #    define BOOST_PP_COUNTER_DIGIT_3 0
0198 # elif BOOST_PP_SLOT_TEMP_3 == 1
0199 #    define BOOST_PP_COUNTER_DIGIT_3 1
0200 # elif BOOST_PP_SLOT_TEMP_3 == 2
0201 #    define BOOST_PP_COUNTER_DIGIT_3 2
0202 # elif BOOST_PP_SLOT_TEMP_3 == 3
0203 #    define BOOST_PP_COUNTER_DIGIT_3 3
0204 # elif BOOST_PP_SLOT_TEMP_3 == 4
0205 #    define BOOST_PP_COUNTER_DIGIT_3 4
0206 # elif BOOST_PP_SLOT_TEMP_3 == 5
0207 #    define BOOST_PP_COUNTER_DIGIT_3 5
0208 # elif BOOST_PP_SLOT_TEMP_3 == 6
0209 #    define BOOST_PP_COUNTER_DIGIT_3 6
0210 # elif BOOST_PP_SLOT_TEMP_3 == 7
0211 #    define BOOST_PP_COUNTER_DIGIT_3 7
0212 # elif BOOST_PP_SLOT_TEMP_3 == 8
0213 #    define BOOST_PP_COUNTER_DIGIT_3 8
0214 # elif BOOST_PP_SLOT_TEMP_3 == 9
0215 #    define BOOST_PP_COUNTER_DIGIT_3 9
0216 # endif
0217 0218 ">#
0219 # if BOOST_PP_SLOT_TEMP_2 == 0
0220 #    define BOOST_PP_COUNTER_DIGIT_2 0
0221 # elif BOOST_PP_SLOT_TEMP_2 == 1
0222 #    define BOOST_PP_COUNTER_DIGIT_2 1
0223 # elif BOOST_PP_SLOT_TEMP_2 == 2
0224 #    define BOOST_PP_COUNTER_DIGIT_2 2
0225 # elif BOOST_PP_SLOT_TEMP_2 == 3
0226 #    define BOOST_PP_COUNTER_DIGIT_2 3
0227 # elif BOOST_PP_SLOT_TEMP_2 == 4
0228 #    define BOOST_PP_COUNTER_DIGIT_2 4
0229 # elif BOOST_PP_SLOT_TEMP_2 == 5
0230 #    define BOOST_PP_COUNTER_DIGIT_2 5
0231 # elif BOOST_PP_SLOT_TEMP_2 == 6
0232 #    define BOOST_PP_COUNTER_DIGIT_2 6
0233 # elif BOOST_PP_SLOT_TEMP_2 == 7
0234 #    define BOOST_PP_COUNTER_DIGIT_2 7
0235 # elif BOOST_PP_SLOT_TEMP_2 == 8
0236 #    define BOOST_PP_COUNTER_DIGIT_2 8
0237 # elif BOOST_PP_SLOT_TEMP_2 == 9
0238 #    define BOOST_PP_COUNTER_DIGIT_2 9
0239 # endif
0240 0241 ">#
0242 # if BOOST_PP_SLOT_TEMP_1 == 0
0243 #    define BOOST_PP_COUNTER_DIGIT_1 0
0244 # elif BOOST_PP_SLOT_TEMP_1 == 1
0245 #    define BOOST_PP_COUNTER_DIGIT_1 1
0246 # elif BOOST_PP_SLOT_TEMP_1 == 2
0247 #    define BOOST_PP_COUNTER_DIGIT_1 2
0248 # elif BOOST_PP_SLOT_TEMP_1 == 3
0249 #    define BOOST_PP_COUNTER_DIGIT_1 3
0250 # elif BOOST_PP_SLOT_TEMP_1 == 4
0251 #    define BOOST_PP_COUNTER_DIGIT_1 4
0252 # elif BOOST_PP_SLOT_TEMP_1 == 5
0253 #    define BOOST_PP_COUNTER_DIGIT_1 5
0254 # elif BOOST_PP_SLOT_TEMP_1 == 6
0255 #    define BOOST_PP_COUNTER_DIGIT_1 6
0256 # elif BOOST_PP_SLOT_TEMP_1 == 7
0257 #    define BOOST_PP_COUNTER_DIGIT_1 7
0258 # elif BOOST_PP_SLOT_TEMP_1 == 8
0259 #    define BOOST_PP_COUNTER_DIGIT_1 8
0260 # elif BOOST_PP_SLOT_TEMP_1 == 9
0261 #    define BOOST_PP_COUNTER_DIGIT_1 9
0262 # endif
0263 0264 ">#
0265 # if BOOST_PP_COUNTER_DIGIT_10
0266 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_10(BOOST_PP_COUNTER_DIGIT_10, BOOST_PP_COUNTER_DIGIT_9, BOOST_PP_COUNTER_DIGIT_8, BOOST_PP_COUNTER_DIGIT_7, BOOST_PP_COUNTER_DIGIT_6, BOOST_PP_COUNTER_DIGIT_5, BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0267 # elif BOOST_PP_COUNTER_DIGIT_9
0268 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_9(BOOST_PP_COUNTER_DIGIT_9, BOOST_PP_COUNTER_DIGIT_8, BOOST_PP_COUNTER_DIGIT_7, BOOST_PP_COUNTER_DIGIT_6, BOOST_PP_COUNTER_DIGIT_5, BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0269 # elif BOOST_PP_COUNTER_DIGIT_8
0270 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_8(BOOST_PP_COUNTER_DIGIT_8, BOOST_PP_COUNTER_DIGIT_7, BOOST_PP_COUNTER_DIGIT_6, BOOST_PP_COUNTER_DIGIT_5, BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0271 # elif BOOST_PP_COUNTER_DIGIT_7
0272 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_7(BOOST_PP_COUNTER_DIGIT_7, BOOST_PP_COUNTER_DIGIT_6, BOOST_PP_COUNTER_DIGIT_5, BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0273 # elif BOOST_PP_COUNTER_DIGIT_6
0274 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_6(BOOST_PP_COUNTER_DIGIT_6, BOOST_PP_COUNTER_DIGIT_5, BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0275 # elif BOOST_PP_COUNTER_DIGIT_5
0276 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_5(BOOST_PP_COUNTER_DIGIT_5, BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0277 # elif BOOST_PP_COUNTER_DIGIT_4
0278 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_4(BOOST_PP_COUNTER_DIGIT_4, BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0279 # elif BOOST_PP_COUNTER_DIGIT_3
0280 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_3(BOOST_PP_COUNTER_DIGIT_3, BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0281 # elif BOOST_PP_COUNTER_DIGIT_2
0282 #    define BOOST_PP_COUNTER BOOST_PP_SLOT_CC_2(BOOST_PP_COUNTER_DIGIT_2, BOOST_PP_COUNTER_DIGIT_1)
0283 # else
0284 #    define BOOST_PP_COUNTER BOOST_PP_COUNTER_DIGIT_1
0285 # endif