Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:49:28

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