Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-02 07:59:02

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 ">#
0011 # /* See http://www.boost.org for most recent version. */
0012 0013 ">#
0014 # ifndef BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
0015 # define BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
0016 0017 ">#
0018 # include <boost/preprocessor/config/config.hpp>
0019 0020 ">#
0021 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0022 0023 ">#
0024 # include <boost/preprocessor/cat.hpp>
0025 # include <boost/preprocessor/arithmetic/dec.hpp>
0026 # include <boost/preprocessor/control/while.hpp>
0027 # include <boost/preprocessor/tuple/elem.hpp>
0028 0029 ">#
0030 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state) \
0031     BOOST_PP_TUPLE_ELEM(2, 0, state) \
0032 /**/
0033 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
0034     BOOST_PP_TUPLE_ELEM(2, 1, state) \
0035 /**/
0036 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED(d,state) \
0037     BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
0038 /**/
0039 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_OP(d,state) \
0040     ( \
0041     BOOST_PP_CAT(BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state),), \
0042     BOOST_PP_DEC(BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state)) \
0043     ) \
0044 /**/
0045 0046 ">#
0047 # /* BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC */
0048 0049 ">#
0050 # define BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC(result,seqsize) \
0051     BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT \
0052         ( \
0053         BOOST_PP_WHILE \
0054             ( \
0055             BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED, \
0056             BOOST_PP_SEQ_DETAIL_TO_LIST_MSVC_OP, \
0057             (result,seqsize) \
0058             ) \
0059         ) \
0060 /**/
0061 # endif // BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
0062 0063 ">#
0064 # endif // BOOST_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP