williamr@2: # /* ************************************************************************** williamr@2: # * * williamr@2: # * (C) Copyright Paul Mensonides 2002. williamr@2: # * Distributed under the Boost Software License, Version 1.0. (See williamr@2: # * accompanying file LICENSE_1_0.txt or copy at williamr@2: # * http://www.boost.org/LICENSE_1_0.txt) williamr@2: # * * williamr@2: # ************************************************************************** */ williamr@2: # williamr@2: # /* See http://www.boost.org for most recent version. */ williamr@2: # williamr@2: # include williamr@2: # williamr@2: # undef BOOST_PP_LOCAL_FE williamr@2: # williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_1 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_2 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_3 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_4 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_5 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_6 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_7 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_8 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_9 williamr@2: # undef BOOST_PP_LOCAL_FE_DIGIT_10 williamr@2: # williamr@2: # if BOOST_PP_SLOT_TEMP_3 == 0 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 0 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 1 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 1 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 2 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 2 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 3 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 3 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 4 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 4 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 5 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 5 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 6 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 6 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 7 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 7 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 8 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 8 williamr@2: # elif BOOST_PP_SLOT_TEMP_3 == 9 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_3 9 williamr@2: # endif williamr@2: # williamr@2: # if BOOST_PP_SLOT_TEMP_2 == 0 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 0 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 1 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 1 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 2 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 2 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 3 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 3 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 4 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 4 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 5 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 5 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 6 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 6 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 7 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 7 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 8 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 8 williamr@2: # elif BOOST_PP_SLOT_TEMP_2 == 9 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_2 9 williamr@2: # endif williamr@2: # williamr@2: # if BOOST_PP_SLOT_TEMP_1 == 0 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 0 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 1 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 1 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 2 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 2 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 3 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 3 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 4 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 4 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 5 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 5 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 6 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 6 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 7 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 7 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 8 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 8 williamr@2: # elif BOOST_PP_SLOT_TEMP_1 == 9 williamr@2: # define BOOST_PP_LOCAL_FE_DIGIT_1 9 williamr@2: # endif williamr@2: # williamr@2: # if BOOST_PP_LOCAL_FE_DIGIT_3 williamr@2: # 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: # elif BOOST_PP_LOCAL_FE_DIGIT_2 williamr@2: # define BOOST_PP_LOCAL_FE() BOOST_PP_SLOT_CC_2(BOOST_PP_LOCAL_FE_DIGIT_2, BOOST_PP_LOCAL_FE_DIGIT_1) williamr@2: # else williamr@2: # define BOOST_PP_LOCAL_FE() BOOST_PP_LOCAL_FE_DIGIT_1 williamr@2: # endif