1 # /* **************************************************************************
\r
3 # * (C) Copyright Paul Mensonides 2002.
\r
4 # * Distributed under the Boost Software License, Version 1.0. (See
\r
5 # * accompanying file LICENSE_1_0.txt or copy at
\r
6 # * http://www.boost.org/LICENSE_1_0.txt)
\r
8 # ************************************************************************** */
\r
10 # /* See http://www.boost.org for most recent version. */
\r
12 # include <boost/preprocessor/slot/detail/shared.hpp>
\r
14 # undef BOOST_PP_ITERATION_FINISH_2
\r
16 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_1
\r
17 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_2
\r
18 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_3
\r
19 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_4
\r
20 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_5
\r
21 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_6
\r
22 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_7
\r
23 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_8
\r
24 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_9
\r
25 # undef BOOST_PP_ITERATION_FINISH_2_DIGIT_10
\r
27 # if BOOST_PP_SLOT_TEMP_3 == 0
\r
28 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 0
\r
29 # elif BOOST_PP_SLOT_TEMP_3 == 1
\r
30 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 1
\r
31 # elif BOOST_PP_SLOT_TEMP_3 == 2
\r
32 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 2
\r
33 # elif BOOST_PP_SLOT_TEMP_3 == 3
\r
34 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 3
\r
35 # elif BOOST_PP_SLOT_TEMP_3 == 4
\r
36 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 4
\r
37 # elif BOOST_PP_SLOT_TEMP_3 == 5
\r
38 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 5
\r
39 # elif BOOST_PP_SLOT_TEMP_3 == 6
\r
40 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 6
\r
41 # elif BOOST_PP_SLOT_TEMP_3 == 7
\r
42 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 7
\r
43 # elif BOOST_PP_SLOT_TEMP_3 == 8
\r
44 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 8
\r
45 # elif BOOST_PP_SLOT_TEMP_3 == 9
\r
46 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_3 9
\r
49 # if BOOST_PP_SLOT_TEMP_2 == 0
\r
50 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 0
\r
51 # elif BOOST_PP_SLOT_TEMP_2 == 1
\r
52 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 1
\r
53 # elif BOOST_PP_SLOT_TEMP_2 == 2
\r
54 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 2
\r
55 # elif BOOST_PP_SLOT_TEMP_2 == 3
\r
56 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 3
\r
57 # elif BOOST_PP_SLOT_TEMP_2 == 4
\r
58 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 4
\r
59 # elif BOOST_PP_SLOT_TEMP_2 == 5
\r
60 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 5
\r
61 # elif BOOST_PP_SLOT_TEMP_2 == 6
\r
62 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 6
\r
63 # elif BOOST_PP_SLOT_TEMP_2 == 7
\r
64 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 7
\r
65 # elif BOOST_PP_SLOT_TEMP_2 == 8
\r
66 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 8
\r
67 # elif BOOST_PP_SLOT_TEMP_2 == 9
\r
68 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_2 9
\r
71 # if BOOST_PP_SLOT_TEMP_1 == 0
\r
72 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 0
\r
73 # elif BOOST_PP_SLOT_TEMP_1 == 1
\r
74 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 1
\r
75 # elif BOOST_PP_SLOT_TEMP_1 == 2
\r
76 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 2
\r
77 # elif BOOST_PP_SLOT_TEMP_1 == 3
\r
78 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 3
\r
79 # elif BOOST_PP_SLOT_TEMP_1 == 4
\r
80 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 4
\r
81 # elif BOOST_PP_SLOT_TEMP_1 == 5
\r
82 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 5
\r
83 # elif BOOST_PP_SLOT_TEMP_1 == 6
\r
84 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 6
\r
85 # elif BOOST_PP_SLOT_TEMP_1 == 7
\r
86 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 7
\r
87 # elif BOOST_PP_SLOT_TEMP_1 == 8
\r
88 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 8
\r
89 # elif BOOST_PP_SLOT_TEMP_1 == 9
\r
90 # define BOOST_PP_ITERATION_FINISH_2_DIGIT_1 9
\r
93 # if BOOST_PP_ITERATION_FINISH_2_DIGIT_3
\r
94 # define BOOST_PP_ITERATION_FINISH_2 BOOST_PP_SLOT_CC_3(BOOST_PP_ITERATION_FINISH_2_DIGIT_3, BOOST_PP_ITERATION_FINISH_2_DIGIT_2, BOOST_PP_ITERATION_FINISH_2_DIGIT_1)
\r
95 # elif BOOST_PP_ITERATION_FINISH_2_DIGIT_2
\r
96 # define BOOST_PP_ITERATION_FINISH_2 BOOST_PP_SLOT_CC_2(BOOST_PP_ITERATION_FINISH_2_DIGIT_2, BOOST_PP_ITERATION_FINISH_2_DIGIT_1)
\r
98 # define BOOST_PP_ITERATION_FINISH_2 BOOST_PP_ITERATION_FINISH_2_DIGIT_1
\r