Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Paul Mensonides 2011.                                  *
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 # ifndef BOOST_PREPROCESSOR_SEQ_DETAIL_BINARY_TRANSFORM_HPP
0013 # define BOOST_PREPROCESSOR_SEQ_DETAIL_BINARY_TRANSFORM_HPP
0014 #
0015 # include <boost/preprocessor/cat.hpp>
0016 # include <boost/preprocessor/config/config.hpp>
0017 # include <boost/preprocessor/tuple/eat.hpp>
0018 # include <boost/preprocessor/tuple/rem.hpp>
0019 # include <boost/preprocessor/variadic/detail/is_single_return.hpp>
0020 #
0021 # /* BOOST_PP_SEQ_BINARY_TRANSFORM */
0022 #
0023 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0024 #    define BOOST_PP_SEQ_BINARY_TRANSFORM(seq) BOOST_PP_SEQ_BINARY_TRANSFORM_I(, seq)
0025 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_I(p, seq) BOOST_PP_SEQ_BINARY_TRANSFORM_II(p ## seq)
0026 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_II(seq) BOOST_PP_SEQ_BINARY_TRANSFORM_III(seq)
0027 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_III(seq) BOOST_PP_CAT(BOOST_PP_SEQ_BINARY_TRANSFORM_A seq, 0)
0028 # else
0029 #    define BOOST_PP_SEQ_BINARY_TRANSFORM(seq) BOOST_PP_CAT(BOOST_PP_SEQ_BINARY_TRANSFORM_A seq, 0)
0030 # endif
0031 # if BOOST_PP_VARIADICS_MSVC
0032 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_REM(data) data
0033 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_A(...) (BOOST_PP_SEQ_BINARY_TRANSFORM_REM, __VA_ARGS__)() BOOST_PP_SEQ_BINARY_TRANSFORM_B
0034 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_B(...) (BOOST_PP_SEQ_BINARY_TRANSFORM_REM, __VA_ARGS__)() BOOST_PP_SEQ_BINARY_TRANSFORM_A
0035 # else
0036 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_A(...) (BOOST_PP_REM, __VA_ARGS__)() BOOST_PP_SEQ_BINARY_TRANSFORM_B
0037 #    define BOOST_PP_SEQ_BINARY_TRANSFORM_B(...) (BOOST_PP_REM, __VA_ARGS__)() BOOST_PP_SEQ_BINARY_TRANSFORM_A
0038 # endif
0039 # define BOOST_PP_SEQ_BINARY_TRANSFORM_A0 (BOOST_PP_EAT, ?)
0040 # define BOOST_PP_SEQ_BINARY_TRANSFORM_B0 (BOOST_PP_EAT, ?)
0041 #
0042 # endif