author | William Roberts <williamr@symbian.org> |
Tue, 16 Mar 2010 16:12:26 +0000 | |
branch | Symbian2 |
changeset 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@2 | 1 |
# /* ************************************************************************** |
williamr@2 | 2 |
# * * |
williamr@2 | 3 |
# * (C) Copyright Paul Mensonides 2002. |
williamr@2 | 4 |
# * Distributed under the Boost Software License, Version 1.0. (See |
williamr@2 | 5 |
# * accompanying file LICENSE_1_0.txt or copy at |
williamr@2 | 6 |
# * http://www.boost.org/LICENSE_1_0.txt) |
williamr@2 | 7 |
# * * |
williamr@2 | 8 |
# ************************************************************************** */ |
williamr@2 | 9 |
# |
williamr@2 | 10 |
# /* See http://www.boost.org for most recent version. */ |
williamr@2 | 11 |
# |
williamr@2 | 12 |
# include <boost/preprocessor/slot/detail/shared.hpp> |
williamr@2 | 13 |
# |
williamr@2 | 14 |
# undef BOOST_PP_LOCAL_FE |
williamr@2 | 15 |
# |
williamr@2 | 16 |
# undef BOOST_PP_LOCAL_FE_DIGIT_1 |
williamr@2 | 17 |
# undef BOOST_PP_LOCAL_FE_DIGIT_2 |
williamr@2 | 18 |
# undef BOOST_PP_LOCAL_FE_DIGIT_3 |
williamr@2 | 19 |
# undef BOOST_PP_LOCAL_FE_DIGIT_4 |
williamr@2 | 20 |
# undef BOOST_PP_LOCAL_FE_DIGIT_5 |
williamr@2 | 21 |
# undef BOOST_PP_LOCAL_FE_DIGIT_6 |
williamr@2 | 22 |
# undef BOOST_PP_LOCAL_FE_DIGIT_7 |
williamr@2 | 23 |
# undef BOOST_PP_LOCAL_FE_DIGIT_8 |
williamr@2 | 24 |
# undef BOOST_PP_LOCAL_FE_DIGIT_9 |
williamr@2 | 25 |
# undef BOOST_PP_LOCAL_FE_DIGIT_10 |
williamr@2 | 26 |
# |
williamr@2 | 27 |
# if BOOST_PP_SLOT_TEMP_3 == 0 |
williamr@2 | 28 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 0 |
williamr@2 | 29 |
# elif BOOST_PP_SLOT_TEMP_3 == 1 |
williamr@2 | 30 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 1 |
williamr@2 | 31 |
# elif BOOST_PP_SLOT_TEMP_3 == 2 |
williamr@2 | 32 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 2 |
williamr@2 | 33 |
# elif BOOST_PP_SLOT_TEMP_3 == 3 |
williamr@2 | 34 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 3 |
williamr@2 | 35 |
# elif BOOST_PP_SLOT_TEMP_3 == 4 |
williamr@2 | 36 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 4 |
williamr@2 | 37 |
# elif BOOST_PP_SLOT_TEMP_3 == 5 |
williamr@2 | 38 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 5 |
williamr@2 | 39 |
# elif BOOST_PP_SLOT_TEMP_3 == 6 |
williamr@2 | 40 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 6 |
williamr@2 | 41 |
# elif BOOST_PP_SLOT_TEMP_3 == 7 |
williamr@2 | 42 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 7 |
williamr@2 | 43 |
# elif BOOST_PP_SLOT_TEMP_3 == 8 |
williamr@2 | 44 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 8 |
williamr@2 | 45 |
# elif BOOST_PP_SLOT_TEMP_3 == 9 |
williamr@2 | 46 |
# define BOOST_PP_LOCAL_FE_DIGIT_3 9 |
williamr@2 | 47 |
# endif |
williamr@2 | 48 |
# |
williamr@2 | 49 |
# if BOOST_PP_SLOT_TEMP_2 == 0 |
williamr@2 | 50 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 0 |
williamr@2 | 51 |
# elif BOOST_PP_SLOT_TEMP_2 == 1 |
williamr@2 | 52 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 1 |
williamr@2 | 53 |
# elif BOOST_PP_SLOT_TEMP_2 == 2 |
williamr@2 | 54 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 2 |
williamr@2 | 55 |
# elif BOOST_PP_SLOT_TEMP_2 == 3 |
williamr@2 | 56 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 3 |
williamr@2 | 57 |
# elif BOOST_PP_SLOT_TEMP_2 == 4 |
williamr@2 | 58 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 4 |
williamr@2 | 59 |
# elif BOOST_PP_SLOT_TEMP_2 == 5 |
williamr@2 | 60 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 5 |
williamr@2 | 61 |
# elif BOOST_PP_SLOT_TEMP_2 == 6 |
williamr@2 | 62 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 6 |
williamr@2 | 63 |
# elif BOOST_PP_SLOT_TEMP_2 == 7 |
williamr@2 | 64 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 7 |
williamr@2 | 65 |
# elif BOOST_PP_SLOT_TEMP_2 == 8 |
williamr@2 | 66 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 8 |
williamr@2 | 67 |
# elif BOOST_PP_SLOT_TEMP_2 == 9 |
williamr@2 | 68 |
# define BOOST_PP_LOCAL_FE_DIGIT_2 9 |
williamr@2 | 69 |
# endif |
williamr@2 | 70 |
# |
williamr@2 | 71 |
# if BOOST_PP_SLOT_TEMP_1 == 0 |
williamr@2 | 72 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 0 |
williamr@2 | 73 |
# elif BOOST_PP_SLOT_TEMP_1 == 1 |
williamr@2 | 74 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 1 |
williamr@2 | 75 |
# elif BOOST_PP_SLOT_TEMP_1 == 2 |
williamr@2 | 76 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 2 |
williamr@2 | 77 |
# elif BOOST_PP_SLOT_TEMP_1 == 3 |
williamr@2 | 78 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 3 |
williamr@2 | 79 |
# elif BOOST_PP_SLOT_TEMP_1 == 4 |
williamr@2 | 80 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 4 |
williamr@2 | 81 |
# elif BOOST_PP_SLOT_TEMP_1 == 5 |
williamr@2 | 82 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 5 |
williamr@2 | 83 |
# elif BOOST_PP_SLOT_TEMP_1 == 6 |
williamr@2 | 84 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 6 |
williamr@2 | 85 |
# elif BOOST_PP_SLOT_TEMP_1 == 7 |
williamr@2 | 86 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 7 |
williamr@2 | 87 |
# elif BOOST_PP_SLOT_TEMP_1 == 8 |
williamr@2 | 88 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 8 |
williamr@2 | 89 |
# elif BOOST_PP_SLOT_TEMP_1 == 9 |
williamr@2 | 90 |
# define BOOST_PP_LOCAL_FE_DIGIT_1 9 |
williamr@2 | 91 |
# endif |
williamr@2 | 92 |
# |
williamr@2 | 93 |
# if BOOST_PP_LOCAL_FE_DIGIT_3 |
williamr@2 | 94 |
# define BOOST_PP_LOCAL_FE() BOOST_PP_SLOT_CC_3(BOOST_PP_LOCAL_FE_DIGIT_3, BOOST_PP_LOCAL_FE_DIGIT_2, BOOST_PP_LOCAL_FE_DIGIT_1) |
williamr@2 | 95 |
# elif BOOST_PP_LOCAL_FE_DIGIT_2 |
williamr@2 | 96 |
# define BOOST_PP_LOCAL_FE() BOOST_PP_SLOT_CC_2(BOOST_PP_LOCAL_FE_DIGIT_2, BOOST_PP_LOCAL_FE_DIGIT_1) |
williamr@2 | 97 |
# else |
williamr@2 | 98 |
# define BOOST_PP_LOCAL_FE() BOOST_PP_LOCAL_FE_DIGIT_1 |
williamr@2 | 99 |
# endif |