Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Edward Diener 2016.                                    *
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_TO_LIST_MSVC_HPP
0013 # define BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 #
0017 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0018 #
0019 # include <boost/preprocessor/cat.hpp>
0020 # include <boost/preprocessor/arithmetic/dec.hpp>
0021 # include <boost/preprocessor/control/while.hpp>
0022 # include <boost/preprocessor/tuple/elem.hpp>
0023 #
0024 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state) \
0025     BOOST_PP_TUPLE_ELEM(2, 0, state) \
0026 /**/
0027 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
0028     BOOST_PP_TUPLE_ELEM(2, 1, state) \
0029 /**/
0030 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED(d,state) \
0031     BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
0032 /**/
0033 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_OP(d,state) \
0034     ( \
0035     BOOST_PP_CAT(BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state),), \
0036     BOOST_PP_DEC(BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state)) \
0037     ) \
0038 /**/
0039 #
0040 # /* BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC */
0041 #
0042 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC(result,seqsize) \
0043     BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT \
0044         ( \
0045         BOOST_PP_WHILE \
0046             ( \
0047             BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED, \
0048             BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_OP, \
0049             (result,seqsize) \
0050             ) \
0051         ) \
0052 /**/
0053 # endif // BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0054 #
0055 # endif // BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP