1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/preprocessor/iteration/detail/bounds/upper1.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,99 @@
1.4 +# /* **************************************************************************
1.5 +# * *
1.6 +# * (C) Copyright Paul Mensonides 2002.
1.7 +# * Distributed under the Boost Software License, Version 1.0. (See
1.8 +# * accompanying file LICENSE_1_0.txt or copy at
1.9 +# * http://www.boost.org/LICENSE_1_0.txt)
1.10 +# * *
1.11 +# ************************************************************************** */
1.12 +#
1.13 +# /* See http://www.boost.org for most recent version. */
1.14 +#
1.15 +# include <boost/preprocessor/slot/detail/shared.hpp>
1.16 +#
1.17 +# undef BOOST_PP_ITERATION_FINISH_1
1.18 +#
1.19 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_1
1.20 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_2
1.21 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_3
1.22 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_4
1.23 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_5
1.24 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_6
1.25 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_7
1.26 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_8
1.27 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_9
1.28 +# undef BOOST_PP_ITERATION_FINISH_1_DIGIT_10
1.29 +#
1.30 +# if BOOST_PP_SLOT_TEMP_3 == 0
1.31 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 0
1.32 +# elif BOOST_PP_SLOT_TEMP_3 == 1
1.33 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 1
1.34 +# elif BOOST_PP_SLOT_TEMP_3 == 2
1.35 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 2
1.36 +# elif BOOST_PP_SLOT_TEMP_3 == 3
1.37 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 3
1.38 +# elif BOOST_PP_SLOT_TEMP_3 == 4
1.39 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 4
1.40 +# elif BOOST_PP_SLOT_TEMP_3 == 5
1.41 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 5
1.42 +# elif BOOST_PP_SLOT_TEMP_3 == 6
1.43 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 6
1.44 +# elif BOOST_PP_SLOT_TEMP_3 == 7
1.45 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 7
1.46 +# elif BOOST_PP_SLOT_TEMP_3 == 8
1.47 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 8
1.48 +# elif BOOST_PP_SLOT_TEMP_3 == 9
1.49 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_3 9
1.50 +# endif
1.51 +#
1.52 +# if BOOST_PP_SLOT_TEMP_2 == 0
1.53 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 0
1.54 +# elif BOOST_PP_SLOT_TEMP_2 == 1
1.55 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 1
1.56 +# elif BOOST_PP_SLOT_TEMP_2 == 2
1.57 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 2
1.58 +# elif BOOST_PP_SLOT_TEMP_2 == 3
1.59 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 3
1.60 +# elif BOOST_PP_SLOT_TEMP_2 == 4
1.61 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 4
1.62 +# elif BOOST_PP_SLOT_TEMP_2 == 5
1.63 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 5
1.64 +# elif BOOST_PP_SLOT_TEMP_2 == 6
1.65 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 6
1.66 +# elif BOOST_PP_SLOT_TEMP_2 == 7
1.67 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 7
1.68 +# elif BOOST_PP_SLOT_TEMP_2 == 8
1.69 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 8
1.70 +# elif BOOST_PP_SLOT_TEMP_2 == 9
1.71 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_2 9
1.72 +# endif
1.73 +#
1.74 +# if BOOST_PP_SLOT_TEMP_1 == 0
1.75 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 0
1.76 +# elif BOOST_PP_SLOT_TEMP_1 == 1
1.77 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 1
1.78 +# elif BOOST_PP_SLOT_TEMP_1 == 2
1.79 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 2
1.80 +# elif BOOST_PP_SLOT_TEMP_1 == 3
1.81 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 3
1.82 +# elif BOOST_PP_SLOT_TEMP_1 == 4
1.83 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 4
1.84 +# elif BOOST_PP_SLOT_TEMP_1 == 5
1.85 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 5
1.86 +# elif BOOST_PP_SLOT_TEMP_1 == 6
1.87 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 6
1.88 +# elif BOOST_PP_SLOT_TEMP_1 == 7
1.89 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 7
1.90 +# elif BOOST_PP_SLOT_TEMP_1 == 8
1.91 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 8
1.92 +# elif BOOST_PP_SLOT_TEMP_1 == 9
1.93 +# define BOOST_PP_ITERATION_FINISH_1_DIGIT_1 9
1.94 +# endif
1.95 +#
1.96 +# if BOOST_PP_ITERATION_FINISH_1_DIGIT_3
1.97 +# define BOOST_PP_ITERATION_FINISH_1 BOOST_PP_SLOT_CC_3(BOOST_PP_ITERATION_FINISH_1_DIGIT_3, BOOST_PP_ITERATION_FINISH_1_DIGIT_2, BOOST_PP_ITERATION_FINISH_1_DIGIT_1)
1.98 +# elif BOOST_PP_ITERATION_FINISH_1_DIGIT_2
1.99 +# define BOOST_PP_ITERATION_FINISH_1 BOOST_PP_SLOT_CC_2(BOOST_PP_ITERATION_FINISH_1_DIGIT_2, BOOST_PP_ITERATION_FINISH_1_DIGIT_1)
1.100 +# else
1.101 +# define BOOST_PP_ITERATION_FINISH_1 BOOST_PP_ITERATION_FINISH_1_DIGIT_1
1.102 +# endif